Jani Taskinen
555b177c83
- Fix this again :)
17 years ago
Jani Taskinen
dad7c68b27
- Fix test
17 years ago
Pierre Joye
a7db554314
- #48624 .user.ini never gets parsed
17 years ago
Pierre Joye
6086c0866c
- kill unused var
17 years ago
Pierre Joye
f2457fbd56
- #47318 , UMR when trying to activate user config
17 years ago
David Soria Parra
368569c05b
MFH: Fix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache).
The fix was provided by Sriram Natarajan.
17 years ago
Jani Taskinen
a332541aaa
MFH:- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c)
17 years ago
Jani Taskinen
29c0b397ec
MFH: CS + WS changes
17 years ago
Kalle Sommer Nielsen
01fc4ed1d6
MFH: Fix compiler warnings
17 years ago
Arnaud Le Blanc
a772d7c3ef
MFH
17 years ago
David Soria Parra
65e3d00366
MFH: Fix #47149 . Remove check for script_filename = path_translated, as this the actual value that we get from apache.
17 years ago
Dmitry Stogov
828566dafb
Disable dl() in CGI and FastCGI modes
17 years ago
David Soria Parra
544150aef8
MFH: Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache).
17 years ago
Marcus Boerger
f77719d800
MFH
- Changed dl() to be disabled by default. Enabled only when explicitly
registered by the SAPI layer. Enabled only with CLI, CGI and EMBED. (Dmitry)
[DOC]
17 years ago
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
17 years ago
Pierre Joye
cd57fe323d
- WS
17 years ago
Pierre Joye
38b1e4c702
- ws
17 years ago
Matt Wilmas
a31c7ebdff
MFH: Fixed bug #46782 (fastcgi.c parse error)
17 years ago
Dmitry Stogov
c5c9e45af9
Fixed bug #46366 (bad cwd with / as pathinfo)
17 years ago
Arnaud Le Blanc
8c4151ad72
Added header_remove() (chsc at peytz dotdk, Arnaud)
[DOC] proto void header_remove([string header_name])
Removes an HTTP header previously set using header()
The header_name parameter is optionnal, all headers are
removed if it is not set
[SAPIs] The header_handler callback in sapi_module_struct has
been changed, it now take a new argument.
When it is set to SAPI_HEADER_DELETE, sapi_header->header is
the name of an header, header_handler has to delete it.
When it is set to SAPI_HEADER_DELETE_ALL, header_handler has
to delete all headers.
When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE,
sapi_header->header is in the form "Name: value", header_handler
has to add or replace the given header.
In all cases, header_handler must not free sapi_header or
sapi_header->header. SAPI_HEADER_ADD must be returned if the
header has been added or replaced, or 0 in other cases.
17 years ago
Rasmus Lerdorf
f121e72ac7
Fix for bug #46525
18 years ago
Arnaud Le Blanc
e3c556c85e
MFH: Fixed FCGI_GET_VALUES requests ( fixes #45522 )
18 years ago
Ilia Alshanetsky
e45af91313
Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304 response
code, in cgi sapi)
18 years ago
Dmitry Stogov
51eb7f5de9
Fixed bug #45860 (header() function fails to correctly replace all Status lines)
18 years ago
Rasmus Lerdorf
421751d240
Remove stray folding tag here
18 years ago
Dmitry Stogov
ced680941a
Fixed bug #45786 (FastCGI process exited unexpectedly)
18 years ago
Dmitry Stogov
5304e5631f
Fix for bug #45786 (FastCGI process exited unexpectedly)
18 years ago
Dmitry Stogov
4362b07e62
Fixed double call to MSHUTDOWN in case of `php-cgi -m`
18 years ago
Jani Taskinen
13dff74889
fix tests
18 years ago
Jani Taskinen
e5e6f553a2
MFH
18 years ago
Dmitry Stogov
7355c3c54c
Removed shebang line check from CGI sapi (it is checked by scanner)
18 years ago
Dmitry Stogov
05f3ed67d4
Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots))
18 years ago
Dmitry Stogov
c27eba9bcf
Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown before shutdown) (basant dot kukreja at sun dot com)
18 years ago
Dmitry Stogov
8054f84a3c
Fixed possible buffer overflow
18 years ago
Dmitry Stogov
ba8e3174ce
Optimized request startup sequence for php.ini without per dir and per host configurations
18 years ago
Dmitry Stogov
9412a49006
Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script)
18 years ago
Dmitry Stogov
9e4d03885e
- Fixed possible stack buffer overflow in FastCGI SAPI. (Andrey Nigmatulin)
- Fixed sending of uninitialized paddings which may contain some information.
(Andrey Nigmatulin)
18 years ago
Rasmus Lerdorf
45e327a672
Add new empty child terminate sapi hook to the rest of the sapis
18 years ago
Dmitry Stogov
8c885b8913
Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
The following pseudo-code explains how it should be used in opcode cache.
function cache_compile_file($filename) {
if (!is_cached($filename)) {
...
orig_compiler_options = CG(compiler_optins);
CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
ZEND_COMPILE_DELAYED_BINDING;
$op_array = orig_compile_file($filename);
CG(compiler_options) = orig_copiler_options;
...
} else {
$op_array = restore_from_cache($filename);
}
zend_do_delayed_early_binding($op_array);
}
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
Ilia Alshanetsky
183267dc29
MFB: Fixed security issue detailed in CVE-2008-0599
18 years ago
Dmitry Stogov
f27c1b9d07
optimization
18 years ago
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
18 years ago
Dmitry Stogov
c34a2574be
The -f option is fixed to work in the same way as in CLI sapi
18 years ago
Jani Taskinen
02d966c263
MFH:- Added support for [HOST=www.example.com] special sections
MFH:- Allowed using full path to load modules using "extension" directive
19 years ago
Antony Dovgal
46c08f53d7
fix tests
19 years ago
Dmitry Stogov
a1d37c3c7f
Fixed bug #42848 (Status: header incorrect under FastCGI)
19 years ago
Dmitry Stogov
df96b455d4
Added check for HAVE_GETTIMEOFDAY
19 years ago
Jani Taskinen
9942f30a38
MFH: ws
19 years ago
Dmitry Stogov
6f7b738b71
Added CGI SAPI -T option, to measure execution time of script repeated several times.
19 years ago