Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
17 years ago
Arnaud Le Blanc
aaaf67e19e
Updated header_handler in apache2filter and apache_hooks
18 years ago
Rasmus Lerdorf
45e327a672
Add new empty child terminate sapi hook to the rest of the sapis
18 years ago
Marcus Boerger
af316021e8
- Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
This is against php-re2c repository version 98
An older patch against version 97 is available under:
http://php.net/~helly/php-re2c-97-20080316.diff.txt
18 years ago
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
18 years ago
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
Dmitry Stogov
29e1530cd7
Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs
20 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
foobar
5bd93221a8
bump year and license version
20 years ago
foobar
23e671a51e
- Bumber up year
21 years ago
Antony Dovgal
8be61d707f
fix #29683 (headers_list() returns empty array)
21 years ago
foobar
0e57528666
No c++ comments in C code
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
fdaa130f3a
Add the new request_time sapi struct entry to all the sapis. Some of these
may have ways of getting the request time without the extra syscall, but
for now let's just make sure we don't crash and people will eventually
fill these in where applicable.
21 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
90f151470c
same bug.
22 years ago
Andi Gutmans
e5cfb1d05c
- Better stability during premature shutdown of request startup
22 years ago
Rasmus Lerdorf
a61c2d667c
Fix applies to apache_hooks sapi as well. See bug #25753 for details.
22 years ago
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
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
Edin Kadribasic
4aa1414623
Reverting last patch (merge from sapi/apache).
23 years ago
Edin Kadribasic
692b508957
Merge from sapi/apache (fix for #23504 )
23 years ago
Ilia Alshanetsky
acc9c13c36
Build Fix.
23 years ago
Ilia Alshanetsky
13f8b211c4
Fixed compilation of Apache & Apache Hooks SAPIs.
23 years ago
Zeev Suraski
3a1a209baf
Updates reflecting infrastructure changes
23 years ago
Sebastian Bergmann
2c5d4b8c23
Bump year.
23 years ago
Ilia Alshanetsky
60a5aeef43
Fixed a few compile warnings and one compile error.
24 years ago
foobar
dd53efc196
- Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is.
24 years ago
George Schlossnagle
0ad980c667
fixed recurrent entrance to add_cgi_vars
24 years ago
Edin Kadribasic
03fc9eb415
Initial attempt to get apache_hooks api to compile on windows.
Still getting link errors with
undefined symbol: 'php_request_startup_for_hook'.
24 years ago
George Schlossnagle
824fdad6c1
initial import of all these files. This was previously the apache_hooks
branch of the apache sapi. Now it lives on its own. General functionality
seems to be working, though there may be a problem with some
output buffering, most likely due to the way that sapi_deactivate needs
to be mangled with here.
24 years ago
Ilia Alshanetsky
b09c1afe0e
PHP flags specified in .htaccess can now be turned on by using '1' as well as
'On'.
24 years ago
Moriyoshi Koizumi
f2f19761a5
Forgot this one.
24 years ago
Hartmut Holzgraefe
c4cb92229c
this will be handled elsewhere
24 years ago
Ilia Alshanetsky
fd094b5b1e
Fixed bug #15038 , original patch by: phpman@toowards.com
24 years ago
Zeev Suraski
76312b4508
another startup initialization fix - only ISAPI and CGI SAPI's tested,
minor compile buglets might occur in other SAPIs, but should be trivial
to fix...
24 years ago
Christian Stocker
9495fb9d7d
@ - Added php.ini option "allow_webdav_methods" to allow handling of
@ WebDAV http requests within PHP scripts. (chregu)
# More methods (for DeltaV) will follow.
24 years ago
foobar
91b3644a72
These functions are not used elsewhere.
24 years ago
foobar
8beb1e2237
Fix ZTS build
24 years ago
Rasmus Lerdorf
f5630aa246
Fix xbithack bug finally (see bug #16515 )
24 years ago
Stefan Esser
8d2bc70752
make POST requests work again
24 years ago
Zeev Suraski
9e743e83a5
Fix a NASTY multithreading bug with in the Apache module
24 years ago
Dan Kalowsky
0917902b92
Fix for Bug #9280 with regards to an Expect header. patch submitted by
Ilia <ilia@prohost.org>
# someone just give the man his php4 karma please!
24 years ago
Stefan Esser
44a5b43b79
Fixing the same possible memory leak.
24 years ago
foobar
f9e492d00b
@- Fixed bug with Apache which let PHP_AUTH_* variables to be set when
@ external basic auth mechanism was used. (Jani)
Fixes bugs: #16653 , #14534 , #14370
24 years ago
Venkat Raghavan S
575e3682f5
NetWare related changes
24 years ago