Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
18 years ago
Antony Dovgal
b219df4b67
fix build
19 years ago
Stanislav Malyshev
d4cc7daba2
MF5: fix for access control with .htaccess
19 years ago
Scott MacVicar
91bcba1f1d
MFB: Fixed bug #41628 (PHP settings leak between Virtual Hosts in Apache 1.3).
19 years ago
Andrei Zmievski
7963278bf4
Fake out the module name, since the filename is different now.
19 years ago
Andrei Zmievski
0b222980d0
Rename php5 module to php6. Remove version number from
sapi/apache/mod_php.* filenames (for future's sake). No other SAPI
moduels modified (up to invididual maintainers).
19 years ago
Sebastian Bergmann
3717df72ae
Bump year.
19 years ago
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.
19 years ago
Ilia Alshanetsky
3642ebdcdd
Added filter support for $_SERVER in cgi/apache2 sapis
Make sure PHP_SELF if filtered in Apache 1 sapi
20 years ago
Brian France
8767cd2df4
MFB:
20 years ago
Dmitry Stogov
c6fdecc906
Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs
20 years ago
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.
20 years ago
Dmitry Stogov
6687f0377b
New memory manager
20 years ago
Michael Wallner
231ad17475
- explicit usage of TS macros
# this could have been raised a lot earlier
20 years ago
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
20 years ago
Rasmus Lerdorf
9b985490f6
We might want to consider moving this to a long throughout the sapi code,
but for now switch to a signed int.
20 years ago
Rasmus Lerdorf
839c3e24a3
MFB input filter hook for getenv()
20 years ago
Ilia Alshanetsky
ae08857016
Removed extra space in the Content-Type header for logos
Simplified stderr error reporting in apache sapi.
20 years ago
Ilia Alshanetsky
87c4a01b87
Nuke safe_mode from sapi/*
# only main/ remains at this point, this is the next step
20 years ago
Pierre Joye
303bfea78f
- remove register_globals support (aka "Kill the f***ing thing" :)
20 years ago
Dmitry Stogov
6f7619cf6f
Unicode support: zstr union
20 years ago
Antony Dovgal
eb49217161
fix #36400 (Custom 5xx error does not return correct HTTP response error code)
20 years ago
Rasmus Lerdorf
4930c2fa31
Let's not mess with r->allowed here - this should fix bug #32561
20 years ago
foobar
251c5173fd
bump year and license version
20 years ago
Andrei Zmievski
14df4af00e
I see no reason no reason to not support chunked encoding requests.
Let's ask Apache to decode these requests for us.
20 years ago
Antony Dovgal
65e6b4fafa
initialize SG(request_info).auth_digest to NULL and prevent segfaults
21 years ago
Ilia Alshanetsky
cddb5c624a
Fixed bug #34905 (Digest authentication does not work with Apache 1).
21 years ago
foobar
4b8025987f
- Unused
21 years ago
Andrei Zmievski
264cec8be6
Unicode support.
21 years ago
foobar
23e671a51e
- Bumber up year
21 years ago
Dmitry Stogov
cf6bb99723
Fixed bug #33723 (php_value overrides php_admin_value)
21 years ago
Brian France
3137e1e422
Added a SG(server_context) NULL check to php_apache_getenv.
21 years ago
Antony Dovgal
8be61d707f
fix #29683 (headers_list() returns empty array)
21 years ago
Rasmus Lerdorf
091bff3570
Fix for bug #33057 - Don't send extraneous entity-headers on a 304 as per
RFC 2616 section 10.3.5
21 years ago
Rui Hirokawa
8235a70ef9
added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication.
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
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
Stefan Esser
446f4d1bc2
Security Fix broken! Destroyed Basic auth. Blame: me
4.3.x not affected
22 years ago
Andi Gutmans
e5cfb1d05c
- Better stability during premature shutdown of request startup
22 years ago
Rasmus Lerdorf
44df89f00d
MFB - see bug #25753 for details
22 years ago
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
22 years ago
James Cox
f68c7ff249
updating license information in the headers.
23 years ago
Rasmus Lerdorf
a516171dec
MFB - fix a couple of missing closing folding tags
23 years ago
Edin Kadribasic
d758f2ea0b
Reverting my last patch because user reports it does not help
solve the problem. (bug #23504 )
23 years ago
Edin Kadribasic
97f3a35d73
Fixed MFB side effect
23 years ago
Edin Kadribasic
6f0e0a61b6
MFB
23 years ago
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.
23 years ago
George Schlossnagle
e49bc59a79
ws fix
23 years ago
George Schlossnagle
f5fb75f390
hopefully a fix for 19919
23 years ago