Commit Graph

123 Commits

Author SHA1 Message Date
Antony Dovgal
233ebb67e8 explicitly set module name 2007-02-07 18:22:38 +00:00
Antony Dovgal
903ef1a071 change "php5" to "php6" everywhere
rename mod_php5.c to mod_php.c
2007-02-07 09:35:09 +00:00
Antony Dovgal
287e1b3f36 fix magic numbers 2007-01-03 18:52:23 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Dmitry Stogov
a7c536fbcd Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
ny 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.
2006-12-20 10:50:46 +00:00
Ilia Alshanetsky
3d2de2426e MFB: Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler). 2006-12-13 00:41:45 +00:00
Ilia Alshanetsky
a918d00548 MFB: Fixed bug #39797 (virtual() does not reset changed INI settings). 2006-12-12 18:05:38 +00:00
Ilia Alshanetsky
c151b4a37f MFB: Fixed bug #39787 (PHP doesn't work with Apache 2.3). 2006-12-11 14:54:29 +00:00
Ilia Alshanetsky
861d8bc309 MFB: Fixed bug #38456 (Apache2 segfaults when virtual() is called in .php
ErrorDocument).
2006-11-09 19:10:27 +00:00
Ilia Alshanetsky
e34c7f161c MFB: Fixed bug #38602 (header( "HTTP/1.0 ..." ) does not change proto
version).
2006-11-09 00:13:39 +00:00
Ilia Alshanetsky
3642ebdcdd Added filter support for $_SERVER in cgi/apache2 sapis
Make sure PHP_SELF if filtered in Apache 1 sapi
2006-10-23 19:17:51 +00:00
Antony Dovgal
3cf1565d90 typos in comments and other minor improvements 2006-08-10 13:44:00 +00:00
Stanislav Malyshev
a9a858d7ad fix bug with variables clobbered by longjmp 2006-08-08 13:12:37 +00:00
Antony Dovgal
cdb628d67d nuke unused variable 2006-07-26 10:30:45 +00:00
Dmitry Stogov
61d39cf1c1 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:41:08 +00:00
Dmitry Stogov
6687f0377b New memory manager 2006-07-18 09:08:06 +00:00
Ilia Alshanetsky
bb9a727682 MFB: apache2handler sapi is no longer experimental 2006-07-11 00:15:44 +00:00
Michael Wallner
d6b04eb53e - fix bug #37720 (merge_php_config scrambles values) 2006-06-09 15:13:12 +00:00
Michael Wallner
231ad17475 - explicit usage of TS macros
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Michael Wallner
04766b7933 - 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:31:15 +00:00
Edin Kadribasic
75af4d3bb5 MFB: Enable parallel build against Apache 2.2 libs and headers 2006-05-07 00:10:06 +00:00
Michael Wallner
1251f42585 MFB: fix php_apache_sapi_header_handler() modifying sapi_header 2006-03-19 14:58:06 +00:00
Ilia Alshanetsky
87c4a01b87 Nuke safe_mode from sapi/*
# only main/ remains at this point, this is the next step
2006-03-07 14:43:16 +00:00
Dmitry Stogov
6f7619cf6f Unicode support: zstr union 2006-03-01 16:27:47 +00:00
Ilia Alshanetsky
e7e0bef106 MFB51: Added param checks for ap2 fetch respose/request header functions. 2006-01-03 20:13:31 +00:00
foobar
22a3bedee0 - Fixed apache_setenv() which requires 2 parameters 2006-01-02 22:39:43 +00:00
Ilia Alshanetsky
331253e7e6 MFB51: Fixed possible crash in apache_getenv()/apache_setenv() on invalid
parameters.
2006-01-02 22:19:53 +00:00
Ilia Alshanetsky
14b8cbedb7 MFB51: Added safety checks 2006-01-01 20:13:31 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Ilia Alshanetsky
9defb1298e MFB51: Fixed bug #35571 (Fixed crash in Apache 2 SAPI when more then one php
script is loaded via SSI include). (Ilia)
2005-12-14 03:36:58 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Ilia Alshanetsky
85fb03cbae MFB51: Fixed bug #35278 (Multiple virtual() calls crash Apache 2 php module) 2005-11-18 19:01:50 +00:00
Ilia Alshanetsky
bb94f372cb Hopefully resolve all the Apache 2 sub-request problems on non-linux systems. 2005-11-17 20:56:09 +00:00
Ilia Alshanetsky
14082e0e09 MFB51: Additional tweaks to the patch for bug #34249. 2005-10-26 15:08:42 +00:00
Antony Dovgal
34d511ab9d MF51: fix bug #34581 (crash with mod_rewrite) 2005-10-12 21:31:49 +00:00
Ilia Alshanetsky
86401de381 MFH: Fixed possible INI setting leak via virtual() in Apache 2 sapi. 2005-10-05 00:42:54 +00:00
foobar
51ec5ca6da Check the status properly 2005-09-02 13:50:39 +00:00
foobar
08b695a3e8 - Revert -a to -A change, bad idea: It disables EXISTING lines too! 2005-09-01 14:33:37 +00:00
Ilia Alshanetsky
9fc26c42c2 Fixed bug #33987 (php script as ErrorDocument causes crash in Apache 2). 2005-08-18 01:11:13 +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