Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
19 years ago
Dmitry Stogov
53b088e60c
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M.
19 years ago
Ilia Alshanetsky
eb8bab9f46
Fixed bug #39816 (apxs2filter ignores httpd.conf & .htaccess php config
settings).
19 years ago
Ilia Alshanetsky
d3aa695263
Fixed bug #39787 (PHP doesn't work with Apache 2.3).
19 years ago
Hannes Magnusson
7b15d02b99
Fix build
19 years ago
Ilia Alshanetsky
6123f11021
MFH:
Added filter support for $_SERVER in cgi/apache2 sapis
Make sure PHP_SELF is filtered in Apache 1 sapi
19 years ago
Dmitry Stogov
356facf4af
Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system.
20 years ago
Dmitry Stogov
29ed52ffa4
New memory manager
20 years ago
SVN Migration
1b0a789ab9
This commit was manufactured by cvs2svn to create branch 'PHP_5_2'.
20 years ago
John Coggeshall
3a0791c99b
Reimplementation of the way Apache 2 Filter works. Instead of ripping the
source from a file (thus bypassing any previous filters in the chain). This
implementation wraps Zend's internal stream mechanism, allowing ZE to read
from Apache's streams instead.
20 years ago
Michael Wallner
76838bcd54
- sync with apache2handler
20 years ago
Michael Wallner
23b8ce3876
- fix php_apache_sapi_header_handler() modifying sapi_header
# already taken care of in apcache1 sapi
20 years ago
foobar
5bd93221a8
bump year and license version
20 years ago
foobar
3e669bc950
MFH: nuke php3 legacy
20 years ago
foobar
1978e9109f
MFH
21 years ago
foobar
d77c684c42
- Changed -a to -A to prevent enabling PHP in httpd.conf automatically.
# Most distributions use separate file in a conf.d/ directory to enable
# PHP, using -a would add unnecessary line in the main httpd.conf and
# causes a warning during startup.
21 years ago
foobar
23e671a51e
- Bumber up year
21 years ago
Dmitry Stogov
d647e000a7
Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed)
21 years ago
Antony Dovgal
8be61d707f
fix #29683 (headers_list() returns empty array)
21 years ago
foobar
a20383ba06
- Unify the "configure --help" texts
21 years ago
foobar
d7f848d069
Might not be obvious for everyone :)
21 years ago
foobar
7af1dfa8cb
- Fixed bug #32587 (Apache2: errors sent to error_log do not include timestamps)
21 years ago
Rasmus Lerdorf
3c0411c496
Fix for bug #32263
This adds proto_num to request_info. It is defaulted to HTTP 1.0 (1000)
such that it has a valid value even if the underlying sapi doesn't set it
correctly. It is then used to determine if a 302 or a 303 should be sent
on a Location redirect. Any non GET/HEAD HTTP 1.1 redirect will get a 303
instead of a 302 to be compatible with the HTTP spec.
21 years ago
foobar
05adbd51b4
- Fixed bug #31055 (apache2filter: per request leak proportional to the full path of the request URI)
21 years ago
Moriyoshi Koizumi
28cc55be0a
- Apply the same fix to apache2filter too.
21 years ago
Joe Orton
1f364c1ee1
- always convert apr_time_t to time_t using apr_time_sec() to be future-proof.
- print apr_time_t values using APR_TIME_T and apr_snprintf.
- remove redundant add_property_long calls.
21 years ago
Joe Orton
516a19f1ec
Fix the get_request_time implementation for the 2.0 SAPIs to return
seconds not microseconds and to use TSRM stuff correctly.
21 years ago
Anantha Kesari H Y
ac5b702b91
removed redundant CLIB_STAT_PATCH checks for NETWARE
22 years ago
Anantha Kesari H Y
13163ad5e4
TSRMLS_FETCH should be called prior to accessing any of the SG members
22 years ago
Anantha Kesari H Y
d2e85c5c9a
NetWare now has a POSIX compliant stat structure so no need of CLIB_STAT_PATCH and all such macros
22 years ago
Derick Rethans
6ffc1c291a
- MFB: Fixed Apache 2.0 SAPI build against Apache 2 HEAD. (Patch by Joe Orton)
22 years ago
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.
22 years ago
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.
22 years ago
Ilia Alshanetsky
cfbf5b24b7
Fixed bug #28818 (Apache 2 sapis do not export st_dev).
22 years ago
Ilia Alshanetsky
c828007fdf
Fixed bug #27424 (headers missing on flush() in apache 2 SAPIs).
22 years ago
Ilia Alshanetsky
67dd730546
Fixed bug #27196 (Missing content_length initialization in apache 2 sapis).
22 years ago
Ilia Alshanetsky
dfaa06dbd7
Apache 2 portion of the fix for bug #25753 .
22 years ago
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
22 years ago
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
22 years ago
Ilia Alshanetsky
1628eb1074
Fixed bug #26604 (Apache2 SAPIs implicitly disable Keep-Alive). (Ilia)
22 years ago
foobar
db50cd251e
Aligned configure help texts.
23 years ago
Uwe Schindler
ea12731b4e
TSRM issue in windows compiling
23 years ago
Ilia Alshanetsky
d2bf1c1338
Fixed bug #24177 (Status not set correctly after flush() in Apache 2)
23 years ago
Ilia Alshanetsky
2b768e8bdc
Fixed bug #22072 (Apache2 sapis do not detect aborted connections).
23 years ago
foobar
5553b6827b
- Use the correct paths to apu-config / apr-config
23 years ago
foobar
d6430ab79f
- Fixed bug #21074 (Apache2: "ErrorDocument xxx /error.php" broken). (Jani)
23 years ago
foobar
471eaadffd
apache2filter does not require 2.0.44
23 years ago
foobar
64cad72284
- Fixed bug #24537 (apache2 compile missing include directories)
23 years ago
James Cox
f68c7ff249
updating license information in the headers.
23 years ago
foobar
dcb0daeae3
- Fix the error message if apxs|2 is fubar.
23 years ago