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
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
Dmitry Stogov
c5c9e45af9
Fixed bug #46366 (bad cwd with / as pathinfo)
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
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
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
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
Jani Taskinen
2bc631fb40
MFH:- Added common getopt implementation to core.
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH: Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+
# Note: Fixed also tests and synced basic_functions.c with HEAD.
19 years ago
Jani Taskinen
09b6f37f20
MFH:
- Added ".htaccess" style user-defined php.ini files support for
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
in php.ini. All directives set in these sections will not be able to be
overridden in user-defined ini-files or during runtime in the specified
path.
- Improved php.ini handling:
. Added better error reporting for syntax errors in php.ini files
. Allowed "ini-variables" to be used almost everywhere ini php.ini files
. Allowed using alphanumeric/variable indexes in "array" ini options
. Fixed get_cfg_var() to be able to return "array" ini options
- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
characters)
19 years ago
Jani Taskinen
0d3bdf23d2
MFH: ws + cs
19 years ago
Dmitry Stogov
06f43b30c1
MFH: Improved and cleaned CGI code. FastCGI is now always enabled and can not be disabled. See sapi/cgi/CHANGES for more details.
19 years ago
Dmitry Stogov
b441b275b3
Fixed bug #42699 (PHP_SELF duplicates path)
19 years ago
Dmitry Stogov
96810f0ae6
Fixed bug #42587 (behaviour change regarding symlinked .php files)
19 years ago
Dmitry Stogov
5d238efaa6
Fixed bug #42523 (PHP_SELF duplicates path)
19 years ago
Dmitry Stogov
39bceffc4a
Fixed bug #42453 (CGI SAPI does not shut down cleanly with -i/-m/-v cmdline options)
19 years ago
Stanislav Malyshev
50293835bf
remove unneeded variables
19 years ago
Dmitry Stogov
50aef7ec83
- Fixed bug #42198 (SCRIPT_NAME and PHP_SELF truncated when inside a userdir
and using PATH_INFO).
- Fixed bug #31892 (PHP_SELF incorrect without cgi.fix_pathinfo, but turning
on screws up PATH_INFO).
19 years ago