Ilia Alshanetsky
b3006ed2a5
Fixed bug #38456 (Apache2 segfaults when virtual() is called in .php
...
ErrorDocument).
2006-11-09 19:10:13 +00:00
Ilia Alshanetsky
e5f9b479af
Fixed bug #38602 (header( "HTTP/1.0 ..." ) does not change proto version).
2006-11-09 00:13:26 +00:00
Ilia Alshanetsky
6123f11021
MFH:
...
Added filter support for $_SERVER in cgi/apache2 sapis
Make sure PHP_SELF is filtered in Apache 1 sapi
2006-11-03 13:51:48 +00:00
Antony Dovgal
1ec10ac8c7
typos in comments and other minor improvements
2006-08-10 13:43:18 +00:00
Stanislav Malyshev
0617904d0a
fix bug with variables clobbered by longjmp
2006-08-08 13:34:14 +00:00
Antony Dovgal
5e0f6ea7db
nuke unused variable
2006-07-26 10:31:08 +00:00
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.
2006-07-25 13:40:05 +00:00
Dmitry Stogov
29ed52ffa4
New memory manager
2006-07-18 09:06:33 +00:00
Ilia Alshanetsky
190c186fb8
apache2handler sapi is no longer experimental
2006-07-11 00:15:30 +00:00
Michael Wallner
2e9ec84ce2
MFH: fix bug #37720 (merge_php_config scrambles values)
2006-06-09 15:13:39 +00:00
Michael Wallner
d724f9cfb1
MFH: call ap_set_content_type() only once, else each time we call it,
...
configured output filters for that content type will be added
2006-05-28 20:32:00 +00:00
Edin Kadribasic
12a5d2b547
Enable parallel build against Apache 2.2 libs and headers
2006-05-07 00:09:20 +00:00
Michael Wallner
23b8ce3876
- fix php_apache_sapi_header_handler() modifying sapi_header
...
# already taken care of in apcache1 sapi
2006-03-19 14:54:53 +00:00
Ilia Alshanetsky
fb91408a17
Added param checks for ap2 fetch respose/request header functions.
2006-01-03 20:13:07 +00:00
Ilia Alshanetsky
a5e15f2e1c
Fixed possible crash in apache_getenv()/apache_setenv() on invalid
...
parameters.
2006-01-02 22:19:37 +00:00
foobar
6d8c69e3cb
MFH: fixed apache_setenv(): at least 2 parameters are required
2006-01-02 22:10:38 +00:00
Ilia Alshanetsky
488500acfb
Added safety checks
2006-01-01 20:12:55 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Ilia Alshanetsky
00b9392bf5
Fixed bug #35571 (Fixed crash in Apache 2 SAPI when more then one php
...
script is loaded via SSI include).
2005-12-14 03:36:44 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
Ilia Alshanetsky
110344d65c
Fixed bug #35278 (Multiple virtual() calls crash Apache 2 php module).
2005-11-18 18:59:49 +00:00
Ilia Alshanetsky
8f514cd18c
MFH: Resolve Apache 2 regression with sub-request handling on non-linux
...
systems.
2005-11-17 21:00:28 +00:00
Ilia Alshanetsky
51d8950b53
Additional tweaks to the patch for bug #34249 .
2005-10-26 15:08:23 +00:00
Antony Dovgal
f4371b9cc6
fix bug #34581 (crash with mod_rewrite)
2005-10-12 21:24:09 +00:00
Ilia Alshanetsky
f2ed06347b
MFH: Fixed possible INI setting leak via virtual() in Apache 2 sapi.
2005-10-05 00:43:38 +00:00
foobar
8c4d1f6657
MFH
2005-09-02 13:51:47 +00:00
foobar
1978e9109f
MFH
2005-09-01 14:33:47 +00:00
Ilia Alshanetsky
e134382a71
MFH: Fixed bug #33987 (php script as ErrorDocument causes crash in Apache 2).
2005-08-18 01:14:42 +00:00
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.
2005-08-05 08:14:54 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Rasmus Lerdorf
884c97d4d7
MFB fix for bug #33690
2005-07-25 22:38:11 +00:00
Dmitry Stogov
d647e000a7
Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed)
2005-07-04 12:47:10 +00:00
Antony Dovgal
8be61d707f
fix #29683 (headers_list() returns empty array)
2005-06-20 12:46:34 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
foobar
5fe1be8b5e
- Say in the help too this is the handler module..
2005-04-10 19:32:19 +00:00
foobar
7af1dfa8cb
- Fixed bug #32587 (Apache2: errors sent to error_log do not include timestamps)
2005-04-08 20:32:14 +00:00
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.
2005-03-14 19:25:39 +00:00
Joe Orton
bef3202d9e
- Fixed bug #31717 : Reject PATH_INFO if "AcceptPathInfo off" is used.
2005-03-10 11:09:32 +00:00
Joe Orton
62121a1840
Fixed regression #31645 - only flush before running the subrequest.
2005-01-24 11:44:56 +00:00
Joe Orton
8288c451c0
Fixed bug #31519 : Set r->status_line to SAPI-provided status-line.
2005-01-17 12:24:40 +00:00
Joe Orton
cb6605c1a5
Fixed bug #30446 - virtual() includes files out of sequence,
...
work around 2.0 subrequest/internal redirect issue.
2005-01-11 14:01:32 +00:00
foobar
ce742b08b0
- Fix typo (avaliable -> available). (bug #28725 )
2004-12-16 12:34:32 +00:00
Moriyoshi Koizumi
a0975f8dcf
- Fixlet for httpd-2.1 on Darwin platforms
2004-12-12 02:11:27 +00:00
Stanislav Malyshev
9baa92c596
fix startup - if startup did not succeed, do not continue with execution
2004-12-06 18:55:30 +00:00
Stanislav Malyshev
f9c2324cd0
do not zero out peak - MM shutdown would do that
2004-12-06 18:48:35 +00:00
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.
2004-10-23 13:48:05 +00:00
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.
2004-10-23 12:56:20 +00:00
Joe Orton
1ef6c7add1
Fix case where php_handle_aborted_connection was called outside a
...
try/end_try block (#25570 ).
2004-10-20 09:28:47 +00:00
Derick Rethans
6ffc1c291a
- MFB: Fixed Apache 2.0 SAPI build against Apache 2 HEAD. (Patch by Joe Orton)
2004-08-23 09:01:27 +00:00
Marcus Boerger
364c2fe5a2
TSRM fix
2004-08-11 20:51:41 +00:00