Rasmus Lerdorf
cad60c3760
Add SAPI hook to get the request time if provided by the web server,
...
otherwise call time(0) on the first call and store it so subsequent
calls will get the same time. Hook support for Apache1/2 included.
2004-08-10 17:40:00 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Moriyoshi Koizumi
2af6d0e1ab
- request_dtor() should be called if a fatal error occurs during activation
...
phase.
2004-07-17 21:29:50 +00:00
Edin Kadribasic
42f7b8026c
MFB: Memory leak fix (patch by Joe Orton)
...
Fixes #28113 . Adapted to php5 by Magnus Määttä.
2004-06-25 13:00:48 +00:00
Ilia Alshanetsky
cfbf5b24b7
Fixed bug #28818 (Apache 2 sapis do not export st_dev).
2004-06-18 00:36:58 +00:00
Ilia Alshanetsky
39baa271b6
Fixed bug #27580 (pre-initialization errors in ap2 handler are not being
...
written to vhost error log).
Stop using depreciated and ignored APLOG_NOERRNO directive.
Make file not found & directory as script invocation error messages more
descriptive.
2004-03-16 22:38:07 +00:00
Ilia Alshanetsky
c828007fdf
Fixed bug #27424 (headers missing on flush() in apache 2 SAPIs).
2004-03-08 03:15:45 +00:00
Rui Hirokawa
815fe886b8
fixed a compilation error.
2004-02-11 00:45:07 +00:00
Ilia Alshanetsky
67dd730546
Fixed bug #27196 (Missing content_length initialization in apache 2 sapis).
2004-02-09 23:27:43 +00:00
Ilia Alshanetsky
dfaa06dbd7
Apache 2 portion of the fix for bug #25753 .
2004-01-29 15:18:26 +00:00
Ilia Alshanetsky
7d31f3772c
Fixed bug #27037 (fixed possible crash in apache2handler output code).
2004-01-29 02:16:47 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
7930ddce0a
Make apache2handler build with new build system.
...
Perhaps also make it build with .dsp system too...
2003-12-19 18:28:56 +00:00
Ilia Alshanetsky
1628eb1074
Fixed bug #26604 (Apache2 SAPIs implicitly disable Keep-Alive). (Ilia)
2003-12-12 17:19:11 +00:00
Ilia Alshanetsky
d2564b401e
Compiler warning fix (patch by Joe Orton).
2003-11-11 20:04:09 +00:00
foobar
d77ae5b571
- Fix win32 build.
2003-10-27 19:05:01 +00:00
foobar
4dfbc210db
Fixed bug #25768
2003-10-21 11:48:31 +00:00
Ilia Alshanetsky
ffb57ad555
Fixed bug #25701 (On flush() set headers_sent in apache2handler)
2003-10-02 03:24:36 +00:00
Ilia Alshanetsky
2998eeaf0d
Fixed bug #25570 (Possible crash in apache2handler when zend_bailout called
...
outside of zend_try {} block).
2003-09-19 00:44:50 +00:00
Ilia Alshanetsky
10aae5e671
Fixed bug #24958 (Incorrect handling of 404s)
2003-08-06 22:33:18 +00:00
Uwe Schindler
52da23faf4
Fix Win32 Build because of missint TSRM stuff
2003-08-03 11:22:53 +00:00
Ilia Alshanetsky
d2bf1c1338
Fixed bug #24177 (Status not set correctly after flush() in Apache 2)
2003-08-02 18:29:30 +00:00
Ilia Alshanetsky
2b768e8bdc
Fixed bug #22072 (Apache2 sapis do not detect aborted connections).
2003-08-01 20:20:11 +00:00
foobar
5553b6827b
- Use the correct paths to apu-config / apr-config
2003-07-16 05:46:36 +00:00
foobar
d6430ab79f
- Fixed bug #21074 (Apache2: "ErrorDocument xxx /error.php" broken). (Jani)
2003-07-11 04:23:34 +00:00
foobar
d3bde360a7
Use the proper way to get the max requests per child.
2003-07-10 22:45:06 +00:00
foobar
64cad72284
- Fixed bug #24537 (apache2 compile missing include directories)
2003-07-08 13:53:34 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
foobar
dcb0daeae3
- Fix the error message if apxs|2 is fubar.
2003-05-28 14:11:21 +00:00
Derick Rethans
7bd188fcf0
- Fix typo
2003-05-26 09:45:46 +00:00
Ilia Alshanetsky
2f15b2062c
Fixed bug #23759 (PHP doesn't preserve subrequest status).
...
(jaboydjr.netwalk@com, Ilia)
2003-05-23 02:41:59 +00:00
Moriyoshi Koizumi
af32730476
Revert the last patch.
...
# sorry for the annoyance
2003-05-14 18:15:01 +00:00
Moriyoshi Koizumi
0d39841728
Oops
2003-05-13 19:35:49 +00:00
Moriyoshi Koizumi
e54919d230
Fixed bug #23610
2003-05-13 19:33:36 +00:00
Moriyoshi Koizumi
edac258751
Possible fix for bug #23455 (patch by rrichards@digarc.com)
2003-05-07 14:11:58 +00:00
Sascha Schumann
ca47774ede
MFB usage fix
2003-04-28 19:43:09 +00:00
Ilia Alshanetsky
f7d72d178d
Fixed bug #23232 (safe_mode does not honor PHP_AUTH_* in apache2)
2003-04-16 23:31:23 +00:00
Stanislav Malyshev
6f08d5e759
Make Apache 2 define SG(request_info).path_translated like Apache 1 did.
2003-04-10 11:33:45 +00:00
Sterling Hughes
3f700e58ab
update php module name to php5, not php4.
...
apache, apache2* and cli/cgi work.
sapi module maintainers should fix up their sapis, as I don't run
any servers with php outside of apache.
2003-03-29 04:52:46 +00:00
foobar
7e0aea7efe
CS fix
2003-03-27 13:16:18 +00:00
Ian Holsman
0cef2e7df8
change to a pool-based bucket instead of a transient one.
2003-03-27 05:31:49 +00:00
Ian Holsman
c5fd930eea
remove flush from standard unbuffered write.
...
people requiring a flush can turn implicit flush on.
Thanks ilia for benchmarking this!
2003-03-27 04:35:44 +00:00
Ilia Alshanetsky
2e0651f378
Added missing initialization, which causes AP2 to crash on startup in ZTS.
2003-03-25 15:35:08 +00:00
Edin Kadribasic
5d381f8f80
MFB and more. Fixed various win32 compilation issues. Also the sapi
...
is now built as php4apach2.dll since the filter is being obsoleted.
2003-03-25 11:50:18 +00:00
Sebastian Bergmann
5ca078779a
Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32.
2003-03-25 08:07:13 +00:00
foobar
96c02a1251
- This is not supposed to be 'pretty' name. (ref. bug #22853 )
2003-03-25 01:38:14 +00:00
Ilia Alshanetsky
519721851f
Fixed bug #22805 (Reading of user input could stop prematurely).
2003-03-25 01:34:32 +00:00
foobar
6121c846b3
whitespace..
2003-03-18 01:24:18 +00:00
Ian Holsman
2697be632c
PR#22672 - User not logged under Apache2
...
patch provided by Andrew Bradford.
2003-03-17 21:28:41 +00:00
foobar
f10d00b374
- Changed --with-apxs2 for apache2handler.
...
# Can we nuke that apache2filter now from php5 ?
2003-03-10 03:14:37 +00:00
Ilia Alshanetsky
8c3e16bf09
OnUpdateInt -> OnUpdateLong.
2003-03-07 13:52:06 +00:00
Ilia Alshanetsky
97418f59bd
CS Fixes.
...
Fixed a bug with 404 handling.
Added more detailed Apache info for phpinfo().
Added the support for last_modified.
2003-03-07 13:45:33 +00:00
foobar
45964cb629
- Fix for some unixware compile problem. (comment by Sascha :)
2003-03-05 16:12:23 +00:00
Edin Kadribasic
d1feae01d9
Credits update.
2003-03-04 00:10:11 +00:00
foobar
6000c7b46c
- Fixed bug #22376 (wrong httpd.conf modified when using INSTALL_ROOT)
2003-02-23 07:32:03 +00:00
foobar
35f3f3ecc6
These both are experimental still. (there has been a note in config.m4
...
all the time but these marker files were missing)
2003-02-23 02:39:51 +00:00
Justin Erenkrantz
a7df9995cc
Add xbithack support to apache2handler SAPI.
...
(configuration doesn't work, but that's not something new apparently.)
2003-02-22 04:42:34 +00:00
Justin Erenkrantz
9729930343
Clean up apache2handler SAPI.
...
Key improvements:
- Be streamy
- Re-enable virtual() support
- Set content_type correctly
- Remove unnecessary code and reintroduce some missing code
- Change signature from PhP to PHP
2003-02-20 18:20:03 +00:00
Ian Holsman
ec68ed4aee
initial checkin of the apache2 SAPI using a handler instead of filters.
...
TBD: src highlighting
better post handling
2003-02-11 17:40:11 +00:00