| 59b0161 |
|
08-Feb-2013 |
Jonh Wendell <jonh.wendell@oiwifi.com.br> |
Added HTTP codes as of RFC 6585 Added descriptions for the new HTTP codes: - 428 Precondition Required - 429 Too Many Requests - 431 Request Header Fields Too Large - 511 Network Authentication Required
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0a7395e |
|
01-Jan-2013 |
Xinchen Hui <laruence@php.net> |
Happy New Year
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 057f471 |
|
08-May-2012 |
Stanislav Malyshev <stas@php.net> |
c++ comments
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bd8912e |
|
08-May-2012 |
Stanislav Malyshev <stas@php.net> |
ws + restore BC to apache_request_headers
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 20364bc |
|
07-May-2012 |
Stanislav Malyshev <stas@php.net> |
fix bug #61807 - Buffer Overflow in apache_request_headers
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b501017 |
|
07-May-2012 |
Stanislav Malyshev <stas@php.net> |
improve fix for CVE-2012-1823
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0556103 |
|
03-May-2012 |
Rasmus Lerdorf <rasmus@php.net> |
Fix for CVE-2012-1823
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d2798c6 |
|
20-Apr-2012 |
Felipe Pena <felipensp@gmail.com> |
Merge branch 'PHP-5.3' into PHP-5.4 * PHP-5.3: - Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename set to null) patch by ab@php.net
|
| c3b0fb4 |
|
20-Apr-2012 |
Felipe Pena <felipensp@gmail.com> |
- Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename set to null) patch by ab@php.net
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d1fd543 |
|
20-Mar-2012 |
Ondřej Surý <ondrej@sury.org> |
Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 106e88b |
|
14-Feb-2012 |
Dmitry Stogov <dmitry@php.net> |
Fixed reinitialization of SAPI callbacks after php_module_startup()
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 87c038b |
|
02-Feb-2012 |
Dmitry Stogov <dmitry@php.net> |
Always restore PG(magic_quote_gpc) on request shutdown
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e4ca0ed |
|
01-Jan-2012 |
Felipe Pena <felipe@php.net> |
- Year++
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4e19825 |
|
01-Jan-2012 |
Felipe Pena <felipe@php.net> |
- Year++
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a391535 |
|
03-Nov-2011 |
Xinchen Hui <laruence@php.net> |
Fixed bug #60206 (possible integer overflow in content_length)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d4b90b4 |
|
03-Nov-2011 |
Xinchen Hui <laruence@php.net> |
Fixed bug #60206 (possible integer overflow in content_length)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| cea8df3 |
|
11-Aug-2011 |
Dmitry Stogov <dmitry@php.net> |
Fixed possible memory leak
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a5d3c29 |
|
11-Aug-2011 |
Dmitry Stogov <dmitry@php.net> |
Fixed possible memory leak
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ca739da |
|
08-Aug-2011 |
Ilia Alshanetsky <iliaa@php.net> |
Removed deadcode
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1c3d13e |
|
07-Aug-2011 |
Rasmus Lerdorf <rasmus@php.net> |
Good catch Coverity
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9805e16 |
|
22-Jul-2011 |
Pierre Joye <pajoye@php.net> |
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 34ef66d |
|
23-Jun-2011 |
Felipe Pena <felipe@php.net> |
- Fix crash on cgi
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 927bf09 |
|
01-Jan-2011 |
Felipe Pena <felipe@php.net> |
- Year++
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0203cc3 |
|
01-Jan-2011 |
Felipe Pena <felipe@php.net> |
- Year++
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 14e7748 |
|
15-Sep-2010 |
Pierre Joye <pajoye@php.net> |
- unused, double declared
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6bc16cc |
|
01-Sep-2010 |
Dmitry Stogov <dmitry@php.net> |
Reduced overhead of FastCGI using near-perfect hash function and predcalculated hash values.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a95dd97 |
|
27-Aug-2010 |
Dmitry Stogov <dmitry@php.net> |
Added apache compatible functions (apache_child_terminate, getallheaders, apache_request_headers, apache_response_headers) to FastCGI SAPI
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 34b631f |
|
18-Aug-2010 |
Kalle Sommer Nielsen <kalle@php.net> |
Pass the TSRMS pointers to sapi_module_struct.log_message, this saves some TSRMLS_FETCH() calls in a few of our SAPI's
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 65d031d |
|
18-Aug-2010 |
Kalle Sommer Nielsen <kalle@php.net> |
Use the TSRMLS_DC/TSRMLS_CC macros instead of TSRMLS_FETCH()
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d6e772a |
|
18-Aug-2010 |
Dmitry Stogov <dmitry@php.net> |
Fixed ZTS build
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bfbfd15 |
|
18-Aug-2010 |
Dmitry Stogov <dmitry@php.net> |
improved performance of FastCGI request parsing
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f20f516 |
|
20-Jul-2010 |
Dmitry Stogov <dmitry@php.net> |
typo
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b4216e0 |
|
07-Jul-2010 |
Dmitry Stogov <dmitry@php.net> |
Use zend_stream API to open main PHP script in CGI/FastCGI. This allows to override the open function by opcode caches and eliminate the actual open syscall.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d22dff0 |
|
05-Jul-2010 |
Dmitry Stogov <dmitry@php.net> |
reduced request processing overhead
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f241995 |
|
30-Jun-2010 |
Felipe Pena <felipe@php.net> |
- MF5.3: Reverted fix for bug #48930 (due binary compatibility breakage) # To commit a new common fix
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 96bb25e |
|
29-Jun-2010 |
Felipe Pena <felipe@php.net> |
- Reverted fix for bug #48930 (due binary compatibility breakage)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ced29dd |
|
27-Jun-2010 |
Felipe Pena <felipe@php.net> |
- Improved initialization
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 22e2302 |
|
27-Jun-2010 |
Felipe Pena <felipe@php.net> |
- Improved initialization
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9b07568 |
|
27-Jun-2010 |
Felipe Pena <felipe@php.net> |
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 3396a6d |
|
27-Jun-2010 |
Felipe Pena <felipe@php.net> |
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 04d6734 |
|
08-Jun-2010 |
Antony Dovgal <tony2001@php.net> |
fix micro-memleaks (happened once per process)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a8be1c1 |
|
08-Jun-2010 |
Antony Dovgal <tony2001@php.net> |
fix micro-memleaks (happened once per process)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 11d24c1 |
|
31-May-2010 |
Michael Wallner <mike@php.net> |
* implement new output API, fixing some bugs and implementing some feature requests--let's see what I can dig out of the bugtracker for NEWS-- and while crossing the road: * implemented new zlib API * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?) Thanks to Jani and Felipe for pioneering.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 91bcba0 |
|
30-Apr-2010 |
Pierre Joye <pajoye@php.net> |
- Fix #51688, ini per dir crashes when invalid document root are given
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8a19787 |
|
30-Apr-2010 |
Pierre Joye <pajoye@php.net> |
- Fix #51688, ini per dir crashes when invalid document root are given
/PHP_5_4/sapi/cgi/cgi_main.c
|
| af49e58 |
|
12-Mar-2010 |
Jani Taskinen <jani@php.net> |
- Reverted r296062 and r296065
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 06f072c |
|
11-Mar-2010 |
Jani Taskinen <jani@php.net> |
MFH: Improved / fixed output buffering (Michael Wallner)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9ba1e81 |
|
03-Jan-2010 |
Sebastian Bergmann <sebastian@php.net> |
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b26c9d4 |
|
30-Nov-2009 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #50168 (FastCGI fails with wrong error on HEAD request to non-existant file)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f298e6c |
|
20-Oct-2009 |
Antony Dovgal <tony2001@php.net> |
fix crash on empty doc_root
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a226082 |
|
16-Oct-2009 |
Stanislav Malyshev <stas@php.net> |
improve fix for #49767 and #47627 - make PHP report "no script" on 404 again
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e4adfe4 |
|
15-Oct-2009 |
Pierre Joye <pajoye@php.net> |
- #48779, fix another use case where / usage may differ
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e5d4b01 |
|
12-Oct-2009 |
Pierre Joye <pajoye@php.net> |
- #48779, improve fix, drop usage of _tolower and use zend_strtolower
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 994307d |
|
09-Oct-2009 |
Felipe Pena <felipe@php.net> |
- Fixed build and comment-style
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8e5a00e |
|
09-Oct-2009 |
Garrett Serack <garretts@php.net> |
- changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case insensitive (garretts)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ccd6e50 |
|
10-Sep-2009 |
Jani Taskinen <jani@php.net> |
- Simplified a bit and fixed possible memory corruption and definate leak.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5c9579c |
|
05-Sep-2009 |
Felipe Pena <felipe@php.net> |
- Drop unused var
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f723d36 |
|
05-Sep-2009 |
Jani Taskinen <jani@php.net> |
- Fixed bug #49182 (PHP CGI always outputs the shebang line)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a7db554 |
|
22-Jun-2009 |
Pierre Joye <pajoye@php.net> |
- #48624 .user.ini never gets parsed
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6086c08 |
|
17-Jun-2009 |
Pierre Joye <pajoye@php.net> |
- kill unused var
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f2457fb |
|
17-Jun-2009 |
Pierre Joye <pajoye@php.net> |
- #47318, UMR when trying to activate user config
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 368569c |
|
09-Jun-2009 |
David Soria Parra <dsp@php.net> |
MFH: Fix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache). The fix was provided by Sriram Natarajan.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a332541 |
|
04-Jun-2009 |
Jani Taskinen <jani@php.net> |
MFH:- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 29c0b39 |
|
04-Jun-2009 |
Jani Taskinen <jani@php.net> |
MFH: CS + WS changes
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 01fc4ed |
|
19-May-2009 |
Kalle Sommer Nielsen <kalle@php.net> |
MFH: Fix compiler warnings
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 65e3d00 |
|
19-Jan-2009 |
David Soria Parra <dsp@php.net> |
MFH: Fix #47149. Remove check for script_filename = path_translated, as this the actual value that we get from apache.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 828566d |
|
11-Jan-2009 |
Dmitry Stogov <dmitry@php.net> |
Disable dl() in CGI and FastCGI modes
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 544150a |
|
09-Jan-2009 |
David Soria Parra <dsp@php.net> |
MFH: Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f77719d |
|
31-Dec-2008 |
Marcus Boerger <helly@php.net> |
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]
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 08659c2 |
|
31-Dec-2008 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump copyright year, 3 of 3.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c5c9e45 |
|
28-Nov-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #46366 (bad cwd with / as pathinfo)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f121e72 |
|
08-Nov-2008 |
Rasmus Lerdorf <rasmus@php.net> |
Fix for bug #46525
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e3c556c |
|
21-Oct-2008 |
Arnaud Le Blanc <lbarnaud@php.net> |
MFH: Fixed FCGI_GET_VALUES requests (fixes #45522)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e45af91 |
|
17-Oct-2008 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304 response code, in cgi sapi)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 51eb7f5 |
|
02-Sep-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #45860 (header() function fails to correctly replace all Status lines)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 421751d |
|
26-Aug-2008 |
Rasmus Lerdorf <rasmus@php.net> |
Remove stray folding tag here
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ced6809 |
|
26-Aug-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #45786 (FastCGI process exited unexpectedly)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5304e56 |
|
18-Aug-2008 |
Dmitry Stogov <dmitry@php.net> |
Fix for bug #45786 (FastCGI process exited unexpectedly)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4362b07 |
|
15-Aug-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed double call to MSHUTDOWN in case of `php-cgi -m`
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e5e6f55 |
|
13-Aug-2008 |
Jani Taskinen <jani@php.net> |
MFH
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 7355c3c |
|
04-Aug-2008 |
Dmitry Stogov <dmitry@php.net> |
Removed shebang line check from CGI sapi (it is checked by scanner)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 05f3ed6 |
|
15-Jul-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots))
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c27eba9 |
|
15-Jul-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown before shutdown) (basant dot kukreja at sun dot com)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8054f84 |
|
23-Jun-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed possible buffer overflow
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ba8e317 |
|
15-Apr-2008 |
Dmitry Stogov <dmitry@php.net> |
Optimized request startup sequence for php.ini without per dir and per host configurations
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9412a49 |
|
09-Apr-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 45e327a |
|
18-Mar-2008 |
Rasmus Lerdorf <rasmus@php.net> |
Add new empty child terminate sapi hook to the rest of the sapis
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8c885b8 |
|
18-Mar-2008 |
Dmitry Stogov <dmitry@php.net> |
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); }
/PHP_5_4/sapi/cgi/cgi_main.c
|
| af31602 |
|
16-Mar-2008 |
Marcus Boerger <helly@php.net> |
- 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
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 183267d |
|
28-Feb-2008 |
Ilia Alshanetsky <iliaa@php.net> |
MFB: Fixed security issue detailed in CVE-2008-0599
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f27c1b9 |
|
15-Feb-2008 |
Dmitry Stogov <dmitry@php.net> |
optimization
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d1dded8 |
|
31-Dec-2007 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump copyright year, 2 of 2.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c34a257 |
|
03-Dec-2007 |
Dmitry Stogov <dmitry@php.net> |
The -f option is fixed to work in the same way as in CLI sapi
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 02d966c |
|
09-Nov-2007 |
Jani Taskinen <jani@php.net> |
MFH:- Added support for [HOST=www.example.com] special sections MFH:- Allowed using full path to load modules using "extension" directive
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a1d37c3 |
|
01-Nov-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #42848 (Status: header incorrect under FastCGI)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| df96b45 |
|
26-Oct-2007 |
Dmitry Stogov <dmitry@php.net> |
Added check for HAVE_GETTIMEOFDAY
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9942f30 |
|
25-Oct-2007 |
Jani Taskinen <jani@php.net> |
MFH: ws
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6f7b738 |
|
25-Oct-2007 |
Dmitry Stogov <dmitry@php.net> |
Added CGI SAPI -T option, to measure execution time of script repeated several times.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2bc631f |
|
01-Oct-2007 |
Jani Taskinen <jani@php.net> |
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.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 09b6f37 |
|
28-Sep-2007 |
Jani Taskinen <jani@php.net> |
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)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0d3bdf2 |
|
27-Sep-2007 |
Jani Taskinen <jani@php.net> |
MFH: ws + cs
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 06f43b3 |
|
27-Sep-2007 |
Dmitry Stogov <dmitry@php.net> |
MFH: Improved and cleaned CGI code. FastCGI is now always enabled and can not be disabled. See sapi/cgi/CHANGES for more details.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b441b27 |
|
24-Sep-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #42699 (PHP_SELF duplicates path)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 96810f0 |
|
10-Sep-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #42587 (behaviour change regarding symlinked .php files)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5d238ef |
|
05-Sep-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #42523 (PHP_SELF duplicates path)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 39bceff |
|
31-Aug-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #42453 (CGI SAPI does not shut down cleanly with -i/-m/-v cmdline options)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5029383 |
|
08-Aug-2007 |
Stanislav Malyshev <stas@php.net> |
remove unneeded variables
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 50aef7e |
|
08-Aug-2007 |
Dmitry Stogov <dmitry@php.net> |
- 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).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9c07366 |
|
08-Aug-2007 |
Jani Taskinen <jani@php.net> |
MFH: fix typos in comments
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e5909f1 |
|
26-Jun-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #40419 (Trailing Slash in CGI request don't work)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5d21808 |
|
21-Jun-2007 |
Dmitry Stogov <dmitry@php.net> |
no need to return exit status of the last fastcgi request
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5c75e5b |
|
04-Jun-2007 |
Antony Dovgal <tony2001@php.net> |
MFH: add missing open_basedir checks to CGI
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e356796 |
|
28-May-2007 |
Dmitry Stogov <dmitry@php.net> |
Removed deprecated comment
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 23409a4 |
|
21-May-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed crash on "php -b 1234 -unknown-option"
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 30dd6a4 |
|
20-May-2007 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed a possible crash when PATH_INFO is not provided but the path contains path info information
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 633aff5 |
|
15-May-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #41378 (fastcgi protocol lacks support for Reason-Phrase in "Status:" header)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4f54b30 |
|
17-Apr-2007 |
foobar <sniper@php.net> |
- Fix a possible leak when multiple -c parameters are used
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 44066f2 |
|
17-Apr-2007 |
Antony Dovgal <tony2001@php.net> |
MFH: fix leak appearing when more than one -f option specified
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2fe7267 |
|
15-Apr-2007 |
foobar <sniper@php.net> |
MFH: Simplify previous patch.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a40b6f5 |
|
15-Apr-2007 |
foobar <sniper@php.net> |
- Allow using syntax highlighting under FastCGI mode.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 52b07d1 |
|
29-Mar-2007 |
Sara Golemon <pollita@php.net> |
Add missing #if check
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4a119f9 |
|
28-Mar-2007 |
Dmitry Stogov <dmitry@php.net> |
Improved FastCGI SAPI to support external pipe and socket servers on win32
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c2a71f8 |
|
09-Mar-2007 |
Dmitry Stogov <dmitry@php.net> |
Return HTTP 403 in case of "access denied".
/PHP_5_4/sapi/cgi/cgi_main.c
|
| efad70c |
|
27-Feb-2007 |
Ilia Alshanetsky <iliaa@php.net> |
snprintf() -> slprintf()
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 50ea267 |
|
24-Feb-2007 |
Marcus Boerger <helly@php.net> |
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 748b6fd |
|
20-Feb-2007 |
Antony Dovgal <tony2001@php.net> |
MFH: make use of startup hooks
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9ae588d |
|
19-Feb-2007 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed strlcat() usage. # Thanks Andi
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2a170f0 |
|
19-Feb-2007 |
Dmitry Stogov <dmitry@php.net> |
Initialize "retval" on each request
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 26214fc |
|
18-Feb-2007 |
Ilia Alshanetsky <iliaa@php.net> |
Eliminate strcat() usage Fixed handling of argv[] for GET
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 780c66d |
|
16-Feb-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a79d74b |
|
15-Feb-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #40414 (possivle endless fork() loop when running fastcgi)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d44cb7f |
|
29-Jan-2007 |
Dmitry Stogov <dmitry@php.net> |
Prevent flush of closed handle on php_module_shutdown()
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4223aa4 |
|
01-Jan-2007 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump year.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2820e6c |
|
28-Dec-2006 |
Antony Dovgal <tony2001@php.net> |
MFH
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8619bf8 |
|
15-Nov-2006 |
Dmitry Stogov <dmitry@php.net> |
Removed unnecessary getenv/putenv calls
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0916ac4 |
|
15-Nov-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed wrong ext/filter behavior. It didn't register FastCGI environment variables and made memory leaks.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5caf547 |
|
14-Nov-2006 |
Dmitry Stogov <dmitry@php.net> |
cgi.* and fastcgi.* directives are moved to INI subsystem. The new directive cgi.check_shebang_line can be used to ommiting checnk for "#! /usr/bin/php" line.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c002606 |
|
03-Nov-2006 |
Pierre Joye <pajoye@php.net> |
- fix build (var.s is for zstr)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6123f11 |
|
03-Nov-2006 |
Ilia Alshanetsky <iliaa@php.net> |
MFH: Added filter support for $_SERVER in cgi/apache2 sapis Make sure PHP_SELF is filtered in Apache 1 sapi
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bc81c71 |
|
23-Sep-2006 |
Antony Dovgal <tony2001@php.net> |
fix CGI build
/PHP_5_4/sapi/cgi/cgi_main.c
|
| be18d5f |
|
22-Sep-2006 |
Ilia Alshanetsky <iliaa@php.net> |
Restore support for unquoted -d options
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 7d14dad |
|
19-Sep-2006 |
Dmitry Stogov <dmitry@php.net> |
MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f9d9c4a |
|
31-Aug-2006 |
Dmitry Stogov <dmitry@php.net> |
FastCGI environment variables must not be overriden by system environment variables
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6c52ec1 |
|
27-Jun-2006 |
Antony Dovgal <tony2001@php.net> |
MFH: fix #37920 (compilation problems on z/OS)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 3361619 |
|
19-Jun-2006 |
Antony Dovgal <tony2001@php.net> |
MFH: plug leak in CGI SAPI when running scripts with query string in console
/PHP_5_4/sapi/cgi/cgi_main.c
|
| cd7d703 |
|
19-Jun-2006 |
Antony Dovgal <tony2001@php.net> |
MFH: add missing ifdef and avoid "unused variable" warning
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6509311 |
|
17-Jun-2006 |
Nuno Lopes <nlopess@php.net> |
plug memory leak in sapi_putenv, by using setenv(), that doesnt need any malloc
/PHP_5_4/sapi/cgi/cgi_main.c
|
| eb8c558 |
|
13-Jun-2006 |
Dmitry Stogov <dmitry@php.net> |
Removed warnings
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2f41813 |
|
03-Jun-2006 |
Johannes Schlüter <johannes@php.net> |
MFH
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6fe36ad |
|
24-May-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #37256 (php-fastcgi dosen't handle connection abort)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 07b8d05 |
|
24-May-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #37341 ($_SERVER in included file is shortened to two entries, if $_ENV gets used).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b5cd968 |
|
15-May-2006 |
Dmitry Stogov <dmitry@php.net> |
- Removed source compatibility with libfcgi - Optimized access to FastCGI environment using HashTable instead of linear search - Allowed PHP_FCGI_MAX_REQUESTS=0 to disable PHP die - Allowed PHP_FCGI_CHILDREN=0 to disable PHP spawn workers
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 24f0701 |
|
03-May-2006 |
Antony Dovgal <tony2001@php.net> |
MFH: plug leak
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 73e4913 |
|
18-Apr-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed memory leaks
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 79b3d79 |
|
07-Apr-2006 |
Dmitry Stogov <dmitry@php.net> |
CGI anf FastCGI assume $_SERVER and $_ENV have the same values, so we don't need construct the same arrays twich and may just copy it
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8c40d60 |
|
07-Apr-2006 |
Dmitry Stogov <dmitry@php.net> |
Removed unnecessary copying
/PHP_5_4/sapi/cgi/cgi_main.c
|
| cb3a53d |
|
23-Mar-2006 |
Dmitry Stogov <dmitry@php.net> |
Cleanup
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0c1b4f4 |
|
23-Mar-2006 |
Dmitry Stogov <dmitry@php.net> |
Allowed '-b' with UNIX sockets: -b <hostname>:<port_number> -b <port_number> -b <unix_socket_path>
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 76a7240 |
|
17-Mar-2006 |
Dmitry Stogov <dmitry@php.net> |
Optimized FastCGI SAPI check. Check for ini options only once.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b8d26da |
|
07-Mar-2006 |
Alex Waugh <alexwaugh@php.net> |
MFH Fix for RISC OS
/PHP_5_4/sapi/cgi/cgi_main.c
|
| aa1142e |
|
03-Feb-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #36158 (SIGTERM is not handled correctly when running as a FastCGI server)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 7e7fcc3 |
|
02-Feb-2006 |
Dmitry Stogov <dmitry@php.net> |
Reimplement FastCGI interface Due to licensing restrictions that actually don't allow anybody to use the libfcgi code without prior approval from Open Market, which is impossible to obtain - we decided to reimplement this interface from scratch. The result is actually slightly faster, and more importantly, clear of any copyright issues.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5bd9322 |
|
01-Jan-2006 |
foobar <sniper@php.net> |
bump year and license version
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5461b5a |
|
09-Dec-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #34429 (Output buffering cannot be turned off with FastCGI)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bde40a7 |
|
03-Dec-2005 |
foobar <sniper@php.net> |
MFH: fix possible compile error
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 496fd1c |
|
02-Nov-2005 |
Michael Wallner <mike@php.net> |
- sapi_header_op(SAPI_HEADER_(REPLACE|ADD), {NULL, 0, 0}) caused HTTP response splitting - sapi_send_headers() already takes care of default_content_type (left over of fix for bug #29983)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d3dc0a3 |
|
06-Oct-2005 |
Johannes Schlüter <johannes@php.net> |
- MFH: Fix #34557 php -m exits with "error" 1
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 20241fe |
|
03-Aug-2005 |
foobar <sniper@php.net> |
- 2004 -> 2005
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 43aa692 |
|
16-Jun-2005 |
Wez Furlong <wez@php.net> |
Don't crash here if there are errors (such as failing to load extensions via php.ini) during startup.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 51eebc6 |
|
03-Jun-2005 |
foobar <sniper@php.net> |
cs + ws
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8c2cda1 |
|
28-Apr-2005 |
foobar <sniper@php.net> |
int != long
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 03bdd1a |
|
28-Apr-2005 |
foobar <sniper@php.net> |
- Added fastcgi.logging php.ini option to be able to disable logging through the fastcgi connection
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 3c0411c |
|
14-Mar-2005 |
Rasmus Lerdorf <rasmus@php.net> |
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.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 59db075 |
|
11-Feb-2005 |
foobar <sniper@php.net> |
Revert previous patch
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 951eb23 |
|
04-Feb-2005 |
foobar <sniper@php.net> |
- Fixed bug #28227 (PHP CGI depends upon non-standard SCRIPT_FILENAME) # patch by: lukem at NetBSD dot org
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 376d5f6 |
|
11-Jan-2005 |
foobar <sniper@php.net> |
Fix ZTS build
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 40b9c63 |
|
10-Jan-2005 |
foobar <sniper@php.net> |
- Fixed bug #28074 (FastCGI: stderr should be written in a FCGI stderr stream).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| fdaa130 |
|
20-Dec-2004 |
Rasmus Lerdorf <rasmus@php.net> |
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.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 546e5bb |
|
14-Jul-2004 |
Edin Kadribasic <edink@php.net> |
Made php -m output sorted case-insensitevly
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f51ff68 |
|
05-Jul-2004 |
Sascha Schumann <sas@php.net> |
- revert to proper behaviour
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 74ab208 |
|
06-May-2004 |
Stanislav Malyshev <stas@php.net> |
Fix fastCGI breakage: due to calling flush on unitialized requests, request was aborted unless ignore_user_abort is set
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 39a43c9 |
|
31-Mar-2004 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #27802 (default number of children to 8 when PHP_FCGI_CHILDREN is not defined).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ed2b177 |
|
12-Mar-2004 |
Ilia Alshanetsky <iliaa@php.net> |
Invalid response code when force-cgi-redirect safety mechanism is triggered
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2a44432 |
|
27-Feb-2004 |
Rasmus Lerdorf <rasmus@php.net> |
As discussed a while ago. There is no reason to disallow command-line arguments for the cgi version when run in a cgi context. Our own test framework is in fact broken because of this unnecessary restriction.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1c00296 |
|
11-Feb-2004 |
Marcus Boerger <helly@php.net> |
Bugfix #27104 CLI/CGI SAPI module variable name conflict
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c6a2a19 |
|
11-Feb-2004 |
Ilia Alshanetsky <iliaa@php.net> |
Proper win32 fix.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9c1be88 |
|
10-Feb-2004 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed win32 build. Fixed building of libfcgi when PHP is built from another directory. Added missing headers needed for wait(). Removed duplicate signal.h header. Removed unneeded variables.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 242296f |
|
10-Feb-2004 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #26758 (FastCGI exits immediately with status 255).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0f9d01d |
|
10-Feb-2004 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #27026 (Added cgi.nph that allows forcing of the Status: 200 header that is not normally needed).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| dbeb415 |
|
08-Jan-2004 |
Andi Gutmans <andi@php.net> |
- A belated happy holidays and PHP 5
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b4c05a5 |
|
31-Oct-2003 |
foobar <sniper@php.net> |
MFB
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4c4d5a0 |
|
17-Oct-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed formatting issues (patch by: Joe Orton)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 45a928e |
|
03-Sep-2003 |
Sascha Schumann <sas@php.net> |
fix heuristic: if someone passed "-b IP:port", this check would falsely recognize the parameter as defining only a port.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| cbb011d |
|
17-Aug-2003 |
Marcus Boerger <helly@php.net> |
Fix interactive mode
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f6290bf |
|
13-Aug-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Don't forget to flush() buffers for -w -s
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f622240 |
|
04-Aug-2003 |
Sascha Schumann <sas@php.net> |
MFB don't overwrite
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 3253746 |
|
01-Aug-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Preserve exit status for non-php execution modes.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 68616d7 |
|
01-Aug-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #23509 (exit code lost when exit() called from register_shutdown_function())
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 42165c1 |
|
29-Jun-2003 |
Shane Caraveo <shane@php.net> |
renable -b option (removed when longopts were added) dissable -b on windows due to fastcgi lib bug close stdin on linux when using socket server (bug 23664)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 97ffab2 |
|
29-Jun-2003 |
Shane Caraveo <shane@php.net> |
fix bug http://bugs.php.net/bug.php?id=24009 also do not use APPL_PHYSICAL_PATH as DOCUMENT_ROOT under IIS, it's different depending on IIS configuration. Code works fine without it, that was just an attempt at a shortcut.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f68c7ff |
|
10-Jun-2003 |
James Cox <imajes@php.net> |
updating license information in the headers.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b7713f4 |
|
03-Jun-2003 |
Edin Kadribasic <edink@php.net> |
Fix for #23902 by Shane. Removed bogus recommendation from php.ini files. # Basic authentication is actually possible # usign IIS + PHP cgi countrary to our current docs
/PHP_5_4/sapi/cgi/cgi_main.c
|
| aa50e81 |
|
30-May-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
CGI SAPI should honour this setting
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 814f793 |
|
30-May-2003 |
Derick Rethans <derick@php.net> |
- MFB: Version output beautification
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 61e0967 |
|
26-May-2003 |
foobar <sniper@php.net> |
MFB: nuked php_header() call from the sapi_cgi_log_message()
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ce91e18 |
|
26-May-2003 |
Shane Caraveo <shane@php.net> |
http://bugs.php.net/bug.php?id=14409 move from PHP_4_3
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 92dfadb |
|
19-May-2003 |
Shane Caraveo <shane@php.net> |
continuation on bugfix #13757 make argv/argc *and* query_string work correctly when running cgi in shell
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 57f01b1 |
|
19-May-2003 |
Shane Caraveo <shane@php.net> |
bugfix #13757 - passing query string on command line when run from shell
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bb1720a |
|
17-May-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
Fixed bug #23669
/PHP_5_4/sapi/cgi/cgi_main.c
|
| db2de46 |
|
29-Mar-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
Fixed too optimized part
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8e8029f |
|
29-Mar-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
CS & WS fixes
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2ad3f44 |
|
28-Mar-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
Do the right fix..
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0b6f629 |
|
28-Mar-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
Fixed bug #22773
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e949850 |
|
27-Mar-2003 |
Shane Caraveo <shane@php.net> |
handle invalid paths passed to us from iis
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5ca0787 |
|
25-Mar-2003 |
Sebastian Bergmann <sebastian@php.net> |
Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 56210b8 |
|
25-Mar-2003 |
Shane Caraveo <shane@php.net> |
use the correct flush on deactivate add some code to make debugging iis 5 cgi easier
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ac7748c |
|
23-Mar-2003 |
Shane Caraveo <shane@php.net> |
For fastcgi env vars, don't magic quote them
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0e6fca4 |
|
18-Mar-2003 |
Stig Bakken <ssb@php.net> |
* email address change
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6d8283f |
|
07-Mar-2003 |
Ben Mansell <joosters@php.net> |
Fix bug whereby a webserver closing stdout from the CGI/FastCGI binary would cause PHP to get caught in an infinite loop of failing write() syscalls.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4934744 |
|
17-Feb-2003 |
Zeev Suraski <zeev@php.net> |
Win32 build improvements
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8c73b6a |
|
17-Feb-2003 |
Shane Caraveo <shane@php.net> |
prevent possible crash if used in combo with mod_gzip fix command line
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d4fd1c0 |
|
16-Feb-2003 |
Marcus Boerger <helly@php.net> |
- Allow long option names - Update CLI's manpage @Added support for long options in CLI & CGI (e.g. --version). (Marcus) # In contrast to the preliminary patch this should work now completely. # If all long option names are accepted we may even think about MFHing.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 92279e5 |
|
14-Feb-2003 |
foobar <sniper@php.net> |
MFB
/PHP_5_4/sapi/cgi/cgi_main.c
|
| aa8dfa0 |
|
13-Feb-2003 |
Marcus Boerger <helly@php.net> |
fix non FCGI build
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a13ef6e |
|
13-Feb-2003 |
Shane Caraveo <shane@php.net> |
There is *absolutely no* definitive way to know if argv0 is the actual php script, or if it is the beginning of a query string. Additionaly, passing parameters on the command line is not part of CGI spec, and is not required by either Apache or IIS. So I have removed that code altogether, and done some further cleanup. Also fix pre4.3 behaviour if fix_pathinfo=0. I've tested with IIS and Apache 1.3.27 on w2k and RH 7.3.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1a4c82e |
|
25-Jan-2003 |
Shane Caraveo <shane@php.net> |
fix bug 21261 putenv on some platforms requires we provide the memory cleanup env parsing logic fix bug 21367 missed optargs in a previous patch
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5de9962 |
|
08-Jan-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #21297. The fix also fixes miscalculation of lines numbers by 1 due the previously mentioned bug.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6591b9c |
|
07-Jan-2003 |
Zeev Suraski <zeev@php.net> |
Add missing call
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 19d47d9 |
|
05-Jan-2003 |
Zeev Suraski <zeev@php.net> |
Initialize lineno using the new infrastructure
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2c5d4b8 |
|
31-Dec-2002 |
Sebastian Bergmann <sebastian@php.net> |
Bump year.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 190867c |
|
25-Dec-2002 |
George Schlossnagle <gschlossnagle@php.net> |
fixed ws
/PHP_5_4/sapi/cgi/cgi_main.c
|
| abbf745 |
|
25-Dec-2002 |
George Schlossnagle <gschlossnagle@php.net> |
fix for 21177
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 66ebbb5 |
|
24-Dec-2002 |
Stefan Esser <sesser@php.net> |
fix compile warning
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 75cbbfa |
|
02-Dec-2002 |
Shane Caraveo <shane@php.net> |
fix use of Alias under apache by defaulting script_name to redirect_url dont lstat, stat.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a3bd394 |
|
01-Dec-2002 |
Shane Caraveo <shane@php.net> |
Fix CGI to match cgi spec. This patch properly fixes support for CGI in PHP. For backwards compatible broken behaviour, cgi.fix_pathinfo can be set to zero in php.ini. CGI failed to work under apache at all, either using the cgi-script directive or as a ScriptAlias setup. Typicaly it would try to parse itself. This will still happen if you dissable fix_pathinfo, and set DISCARD_PATH. This also fixes PATH_INFO, and finally we can run pres2 under cgi or fastcgi. This patch has been tested under Apache 1.3, 2.0, IIS, as both cgi and fastcgi, on Windows and OSX. A followup patch with build stuff for linux will follow.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| dd53efc |
|
26-Nov-2002 |
foobar <sniper@php.net> |
- Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 95b4045 |
|
26-Nov-2002 |
Shane Caraveo <shane@php.net> |
configure now supports building the cgi-fcgi module configure --enable-fastcgi
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 81711ba |
|
22-Nov-2002 |
Edin Kadribasic <edink@php.net> |
Avoid possible buffer overflow.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| fd47c5b |
|
22-Nov-2002 |
Edin Kadribasic <edink@php.net> |
MFB: Don't send default http status (200).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 714a5be |
|
22-Nov-2002 |
Edin Kadribasic <edink@php.net> |
Fixed bug #19207 by adding cgi.rfc2616_headers configuration directive.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ca332df |
|
15-Nov-2002 |
Andrei Zmievski <andrei@php.net> |
Oops.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 3e8a800 |
|
15-Nov-2002 |
Andrei Zmievski <andrei@php.net> |
Fix function prototype.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e09d62c |
|
14-Nov-2002 |
Andrei Zmievski <andrei@php.net> |
Sort the modules and extensions before printing them when -m switch is used.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| cecb9df |
|
12-Nov-2002 |
Marcus Boerger <helly@php.net> |
Implemented -n switch to skip parsing ini at startup as suggested by Wez. #The switch 'n' was planned to be used for beautifying....delete n to make #clear these functions do not have a switch yet.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| cb6202b |
|
12-Nov-2002 |
Hartmut Holzgraefe <hholzgra@php.net> |
reverting accidential commit
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0c395d0 |
|
12-Nov-2002 |
Hartmut Holzgraefe <hholzgra@php.net> |
*** empty log message ***
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 64f7757 |
|
05-Nov-2002 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #20035. ZE now allows us to pass the current line position by setting zend_lineno to (current_line * -1).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d82565f |
|
25-Oct-2002 |
Derick Rethans <derick@php.net> |
- Fix build #- Jan, please TEST! before committing :-)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ed29169 |
|
25-Oct-2002 |
Jan Lehnardt <jan@php.net> |
- alphabetcial output for php -h (cgi) - cosmetics
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2909e5c |
|
24-Oct-2002 |
Sascha Schumann <sas@php.net> |
centralize #include "build-defs.h" and drop (sometimes inconsistent) other instances
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 69f56e8 |
|
13-Oct-2002 |
Shane Caraveo <shane@php.net> |
make fastcgi usage threadsafe, ready for future multithreaded fastcgi implementation get rid of environment overwriting but hooking into php's environment function set $_ENV correctly for mod_fastcgi add -b to specify binding for fastcgi new readme file with information for running under apache2.0 and iis
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d316049 |
|
23-Sep-2002 |
Zeev Suraski <zeev@php.net> |
We leak quite a few things intentionally, if you want to debug it - enable explicitly please..
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 76312b4 |
|
18-Sep-2002 |
Zeev Suraski <zeev@php.net> |
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...
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0b25d07 |
|
04-Sep-2002 |
Marcus Boerger <helly@php.net> |
Fix headers when default content type is used. #THIS fixes the problems with error_log()
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1fb6a30 |
|
19-Aug-2002 |
Edin Kadribasic <edink@php.net> |
Debug functions should only work in debug mode.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e84bddf |
|
07-Aug-2002 |
Harald Radi <phanto@php.net> |
dump memory leaks on shutdown
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2c3801b |
|
04-Jul-2002 |
Sascha Schumann <sas@php.net> |
Generate content-type header, if the user did not specify one of its own. Noticed by: Edin Kadribasic <edink@proventum.net>
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b3e562f |
|
03-Jul-2002 |
Sascha Schumann <sas@php.net> |
Add CRLF after complete HTTP reply header
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 99cfb41 |
|
03-Jul-2002 |
Sascha Schumann <sas@php.net> |
Use "Status: %d" instead of "HTTP/1.0 %d X" in the CGI SAPI module as per the CGI RFC. The status notation is incompatible with Apache's non-parsed-header mode "nph-*", but that has never worked before anyway. One could make the format string configurable. Noticed by: Sebastian Bergmann
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 805a165 |
|
22-Jun-2002 |
Andi Gutmans <andi@php.net> |
- Revert WS changes
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 85983fe |
|
22-Jun-2002 |
Andi Gutmans <andi@php.net> |
- This shouldn't have snuck in.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4216379 |
|
22-Jun-2002 |
Andi Gutmans <andi@php.net> |
- Stop using persist_alloc().
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2d953b3 |
|
26-May-2002 |
Edin Kadribasic <edink@php.net> |
Merge from cli.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8e15de0 |
|
11-May-2002 |
Edin Kadribasic <edink@php.net> |
Added copyright notice to php -v output.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5af649e |
|
11-May-2002 |
Zeev Suraski <zeev@php.net> |
Revert to the old php_ini.c, and reimplement the binary-path searching. Should now also work under UNIX (CLI/CGI)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ccbadfc |
|
10-May-2002 |
Markus Fischer <mfischer@php.net> |
- Prefix the first version line with 'PHP' so it's easier to use shell tools to parse the version number (both CLI and CGI).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bf351e9 |
|
10-May-2002 |
Markus Fischer <mfischer@php.net> |
- This affects both CGI and CLI sapi: Remove Zend version output from -m switch and move it over to the output of the -v switch (-v is supposed to list version numbers, not -m).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 57c5998 |
|
09-May-2002 |
Preston L. Bannister <pbannister@php.net> |
Backed out preceding change.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d706e22 |
|
09-May-2002 |
Preston L. Bannister <pbannister@php.net> |
Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required. (No extraneous whitespace changes this time :).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 42c82bb |
|
09-May-2002 |
foobar <sniper@php.net> |
Revert the last patches.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 06f375b |
|
09-May-2002 |
Preston L. Bannister <pbannister@php.net> |
Detect when running under IIS and not require explicit setting of force_redirect. This means an explicit php.ini setting is no longer required.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 7586cdc |
|
09-May-2002 |
Sander Roobol <sander@php.net> |
Added the current SAPI to the output of php -v
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 7a64b2b |
|
02-May-2002 |
Sander Roobol <sander@php.net> |
Fixed some minor typos
/PHP_5_4/sapi/cgi/cgi_main.c
|
| edba077 |
|
02-May-2002 |
Sebastian Bergmann <sebastian@php.net> |
Fix build.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ba85302 |
|
02-May-2002 |
James Cox <imajes@php.net> |
updated cgi warning notice.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 439b568 |
|
12-Apr-2002 |
Yasuo Ohgaki <yohgaki@php.net> |
CGI/CLI take file and dir for -c option by this. @ Both 'file' and 'path to php.ini' is allowed for "-c" cli/cgi option. (Yasuo)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| abc5a2c |
|
02-Apr-2002 |
Wez Furlong <wez@php.net> |
fix quoting
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 99a68d4 |
|
02-Apr-2002 |
James Cox <imajes@php.net> |
just did...
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f3d107a |
|
02-Apr-2002 |
James Cox <imajes@php.net> |
updated the alert sent to the browser. removed the verbosity, and linked to more info.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c806dca |
|
18-Mar-2002 |
Shane Caraveo <shane@php.net> |
add security impersonation feature for running under IIS security
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c8f5565 |
|
10-Mar-2002 |
Shane Caraveo <shane@php.net> |
woohoo, take some credit!
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f3a60dd |
|
10-Mar-2002 |
Shane Caraveo <shane@php.net> |
children should be zero by default, enable by setting PHP_FCGI_CHILDREN env var.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 79bb884 |
|
10-Mar-2002 |
Shane Caraveo <shane@php.net> |
combine fastcgi capability with regular cgi binary include fastcgi library for ease of windows builds NOTE: included fastcgi library is modified for thread safety, but fastcgi support in cgi_main.c is only written for single threaded serving. This does not present any issue for using fastcgi.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 393cbe0 |
|
06-Mar-2002 |
Derick Rethans <derick@php.net> |
- Put them back (and do it right)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c874057 |
|
06-Mar-2002 |
Derick Rethans <derick@php.net> |
- Remove unused variables
/PHP_5_4/sapi/cgi/cgi_main.c
|
| db73f90 |
|
01-Mar-2002 |
Shane Caraveo <shane@php.net> |
add comment for IIS users fix some whitespace
/PHP_5_4/sapi/cgi/cgi_main.c
|
| cd18533 |
|
01-Mar-2002 |
Shane Caraveo <shane@php.net> |
This is much better. With FORCE_CGI_REDIRECT turned on by default for compilation, we can now define this in the ini file. So it can be turned on for apache, turned off for IIS which does not have a redirect issue. Alternately, a different 'REDIRECT_STATUS' environment var can be defined in case some web server out there needs it. new ini vars cgi.force_redirect 0|1 cgi.redirect_status_env ENV_VAR_NAME
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e2b1161 |
|
01-Mar-2002 |
Shane Caraveo <shane@php.net> |
fix force redirect crash under multithreaded compile should be discused: fix redirect detection to only work with apache or netscape, where we know they set an environment variable regarding redirect. IIS has no security issue here. Don't know about other windows web servers.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b8a5daf |
|
15-Feb-2002 |
Derick Rethans <derick@php.net> |
- Make the errorcode 255. (Doing docs right away)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 86fa2d3 |
|
14-Feb-2002 |
Derick Rethans <derick@php.net> |
- Let php_execute_script return 0 on failure and 1 on sucess, and change SAPIs accordingly. (Andrei, Derick)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| dcd4e0a |
|
02-Feb-2002 |
Sebastian Bergmann <sebastian@php.net> |
Remove obsolete CG(extended_info) = 0 calls, we already do this in zend_set_default_compile_time_values().
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1769e3f |
|
20-Jan-2002 |
Edin Kadribasic <edink@php.net> |
Fixed bug #9041 and others in the same class (patch by pete.lee@ubs.com)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6120b8d |
|
18-Jan-2002 |
Shane Caraveo <shane@php.net> |
reimplement extension listing
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 3893351 |
|
11-Dec-2001 |
Sebastian Bergmann <sebastian@php.net> |
Update headers.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f026dae |
|
08-Dec-2001 |
Thies C. Arntzen <thies@php.net> |
@- Added -w option to the cgi-version. This will remove all comments and @ whitespace from teh script. (Thies)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 975ed90 |
|
11-Nov-2001 |
Rui Hirokawa <hirokawa@php.net> |
fixed output problem with output buffering handler.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bddb953 |
|
04-Nov-2001 |
Alex Waugh <alexwaugh@php.net> |
Convert PATH_TRANSLATED for RISC OS
/PHP_5_4/sapi/cgi/cgi_main.c
|
| eb38ca8 |
|
27-Sep-2001 |
Jeroen van Wolffelaar <jeroen@php.net> |
Undo Z_ subst for sapi and ext/yaz
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c033288 |
|
25-Sep-2001 |
Jeroen van Wolffelaar <jeroen@php.net> |
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 78747bd |
|
09-Sep-2001 |
Derick Rethans <derick@php.net> |
- Don't wrap lines... this is annoying while coding.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8021e65 |
|
14-Aug-2001 |
Zeev Suraski <zeev@php.net> |
Revert an old bogus patch
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6ecae42 |
|
08-Aug-2001 |
Zeev Suraski <zeev@php.net> |
Use zend_first_try
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b349df6 |
|
05-Aug-2001 |
Sascha Schumann <sas@php.net> |
some more eliminate-fetches-or-escalate-them-at-least
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8aef193 |
|
05-Aug-2001 |
Sascha Schumann <sas@php.net> |
more tsrm cleanup
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 578c395 |
|
05-Aug-2001 |
Thies C. Arntzen <thies@php.net> |
delay module_shutdown even further. zend_try and _catch need the current globals as well. zeev, is this a chicken & egg problem?
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0fe837b |
|
05-Aug-2001 |
Thies C. Arntzen <thies@php.net> |
module_shutdown() calls ts_free_thread in ZTS mode. so SG() cannot be accessed afterwards.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1159c84 |
|
05-Aug-2001 |
Zeev Suraski <zeev@php.net> |
- TSRMLS_FETCH work - whitespace fixes
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2ec4400 |
|
03-Aug-2001 |
Zeev Suraski <zeev@php.net> |
Get rid of a couple of bogus persist_alloc()'s, and some cleanup
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b1de7fc |
|
31-Jul-2001 |
Zeev Suraski <zeev@php.net> |
More TSRMLS_FETCH annihilation. Enough for today...
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d76cf1d |
|
31-Jul-2001 |
Zeev Suraski <zeev@php.net> |
More TSRMLS_FETCH work
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b1cc3bd |
|
30-Jul-2001 |
Thies C. Arntzen <thies@php.net> |
fix compile
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c43806f |
|
30-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Zend compatibility patch
/PHP_5_4/sapi/cgi/cgi_main.c
|
| d87cc97 |
|
28-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Redesigned thread safety mechanism - nua nua
/PHP_5_4/sapi/cgi/cgi_main.c
|
| fe6f871 |
|
27-Jul-2001 |
Zeev Suraski <zeev@php.net> |
- Get rid of ELS_*(), and use TSRMLS_*() instead. - Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e280c3e |
|
27-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Fix a corrupted memory access
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4715403 |
|
21-Jul-2001 |
Andi Gutmans <andi@php.net> |
- Fix __FILE__ in the main script in CGI/command line mode.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 336004f |
|
21-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Improved bailout mechanism, supports nested bailouts a-la try..catch Note: You may *not* return directly from a catch block
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 85b4df5 |
|
15-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Improved interactive mode - it is now available in all builds, without any significant slowdown
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 551f183 |
|
02-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Fix a major thread safety bug in the output mechanism @- Fixed a major memory corruption bug in the thread safe version (Zeev)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8332ab4 |
|
21-Jun-2001 |
Zeev Suraski <zeev@php.net> |
Spit out errors
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 49ab8cb |
|
06-Jun-2001 |
Sebastian Bergmann <sbergmann@php.net> |
Remove bogus '.'.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 81e2cf0 |
|
06-Jun-2001 |
Rasmus Lerdorf <rasmus@php.net> |
Fix folding and clean up some extensions
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f0b6b8a |
|
22-May-2001 |
Shane Caraveo <shane@php.net> |
The -c commandline option was not working at all, need to set the path override before calling on the module startup.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bc7a582 |
|
19-May-2001 |
Sascha Schumann <sas@php.net> |
Use write(2), if we can successfully write to stdout.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e80abfa |
|
18-May-2001 |
Thies C. Arntzen <thies@php.net> |
revert parts of last commit - stupid me!
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2db3431 |
|
18-May-2001 |
Thies C. Arntzen <thies@php.net> |
--enable-memory-usage-info id deprecated. use --enable-memory-limit instead!
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4afa93f |
|
10-May-2001 |
Zeev Suraski <zeev@php.net> |
@- Fixed a possible crash in the PHP CGI when no input file is @ specified (Zeev) Fixed bug 7822
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6cd3b98 |
|
08-May-2001 |
Zeev Suraski <zeev@php.net> |
$argc was off by one in -f (fix bug #9289)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a166b61 |
|
01-May-2001 |
Andi Gutmans <andi@php.net> |
- Remove unused variable
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ba49860 |
|
01-May-2001 |
Sterling Hughes <sterling@php.net> |
fix for bug 6491, http://www.php.net/bugs.php?id=6491, removes a bit of (what I think is) broken logic. # This is as discussed on the mailing list previously. This change # does fix the problem, however, the extra code was in there for a # reason (I'm guessing :), i'm ready to revert this patch in a jiffy # if someone has a good reason why that (just removed) extra logic # should be in there.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6196e0b |
|
30-Apr-2001 |
Andi Gutmans <andi@php.net> |
- Fix for Bug id #10071 PR: Submitted by: Reviewed by: Obtained from:
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4c823e8 |
|
30-Apr-2001 |
Andi Gutmans <andi@php.net> |
- Change macros from V_ to VCWD_ because of AIX name clash
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0b2641e |
|
16-Apr-2001 |
Stig Bakken <ssb@php.net> |
@Added -C command-line option to avoid chdir to the script's directory (Stig)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4549e38 |
|
22-Mar-2001 |
Ben Mansell <joosters@php.net> |
Fix a bug with POST requests. If the Content-Type header wasn't present, we were setting SG(request_info).content_type to NULL, instead of an empty string. This was stopping PHP from processing the data.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f4917d4 |
|
07-Mar-2001 |
foobar <sniper@php.net> |
Fixed the help for other options too.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 356fc41 |
|
05-Mar-2001 |
foobar <sniper@php.net> |
Fix help text for -f
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 81a2669 |
|
05-Mar-2001 |
foobar <sniper@php.net> |
Can't output any error messages if there isn't any function initialized to do it.. # Bug report: #7650
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ce39c56 |
|
04-Mar-2001 |
Zeev Suraski <zeev@php.net> |
whitespace fix
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a0d3c5a |
|
26-Feb-2001 |
Andi Gutmans <andi@php.net> |
- Finally rename modules.h to zend_modules.h for consistency (first try was 2000-03-11). - Remove the first_arg_force_ref[]; and friends extern from php.h as they are included via zend_API.h
/PHP_5_4/sapi/cgi/cgi_main.c
|
| eb6ba01 |
|
26-Feb-2001 |
Andi Gutmans <andi@php.net> |
- Fix copyright notices with 2001
/PHP_5_4/sapi/cgi/cgi_main.c
|
| adb3e39 |
|
24-Feb-2001 |
Sascha Schumann <sas@php.net> |
php_register_command_line_global_vars only needs file scope.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 280e10a |
|
24-Feb-2001 |
Sascha Schumann <sas@php.net> |
Neither the CGI nor the Servlet SAPI module call syslog, so remove references to the syslog include files.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c2fb53b |
|
23-Feb-2001 |
Sascha Schumann <sas@php.net> |
Finish fopen-wrappers rename.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bd0ac7f |
|
02-Jan-2001 |
Zeev Suraski <zeev@php.net> |
Many patches. I hope I remember them all: - Make sapi_module available to external modules (PHPAPI) - Make the php.ini path reported in phpinfo() always point to real full path of the php.ini file - Optimized the ISAPI module not to read unnecessary server variables and read necessary variables at most once.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| c95a8f3 |
|
03-Dec-2000 |
Sascha Schumann <sas@php.net> |
Merge with php_4_0_4
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6c1af20 |
|
22-Nov-2000 |
Sascha Schumann <sas@php.net> |
Set the exit status from the return value of php_execute_script()
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 030b707 |
|
18-Nov-2000 |
Zeev Suraski <zeev@php.net> |
Update SAPI modules to interface with the new TSRM. Enable thread-safety memory debugging in ISAPI when in debug mode
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0f7f5c2 |
|
13-Nov-2000 |
Zeev Suraski <zeev@php.net> |
- Import Jade Nicoletti's transparent gzip encoding support as an output handler. Works quite nicely! - Fix buglets in output buffering - Add output_handler INI directive
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9e40204 |
|
07-Nov-2000 |
Zeev Suraski <zeev@php.net> |
@- In CGI mode, $HTTP_SERVER_VARS now includes all of the environment variables @ as well (Zeev)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| efd8117 |
|
06-Nov-2000 |
Zeev Suraski <zeev@php.net> |
Fixed a bug in $argv and $argc not being properly defined in command-line mode @- Fixed a bug that prevented $argv and $argc from being defined in the command @ line version of PHP (Stas)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 24035fa |
|
06-Nov-2000 |
Stanislav Malyshev <stas@php.net> |
I guess SG(request_info).argv0 and not !SG(request_info).argv0 was an intent, otherwise it doesn't make much sense.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5e48df7 |
|
03-Nov-2000 |
Daniel Beulshausen <dbeu@php.net> |
use argv[1] if it's given, thanks to Bob Denny <rdenny@dc3.com>
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 3bc3677 |
|
31-Oct-2000 |
Stanislav Malyshev <stas@php.net> |
Fix -d functionality
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bed7034 |
|
29-Oct-2000 |
Sascha Schumann <sas@php.net> |
Unify aborted connection handling
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1fd0913 |
|
29-Oct-2000 |
Zeev Suraski <zeev@php.net> |
Initial steps to move the INI mechanism to the Zend engine
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 825457a |
|
29-Oct-2000 |
Thies C. Arntzen <thies@php.net> |
update my email.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6ff371d |
|
27-Oct-2000 |
Sascha Schumann <sas@php.net> |
Leave initializing of auth_(user|password) to php_handle_auth_data().
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b725c6e |
|
27-Oct-2000 |
Sascha Schumann <sas@php.net> |
The CGI RFC allows servers to pass Authorization data to the script, if the server did not use the information contained therein. See 6.1.5 and 11.2 of the proposed spec.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2946f87 |
|
26-Oct-2000 |
Andi Gutmans <andi@php.net> |
- Fix new -m on Windows
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 717e934 |
|
26-Oct-2000 |
Mathieu Kooiman <mathieu@php.net> |
Added -m (Shows list of modules) to commandline..
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 878e348 |
|
20-Oct-2000 |
Frank M. Kromann <fmk@php.net> |
Adding type cast to remove compiler warning
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f3232e9 |
|
11-Oct-2000 |
Andi Gutmans <andi@php.net> |
- Commit Kristian's PHP 3 patch to PHP 4. Kristian I hope it's also the same here.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 38423a8 |
|
03-Oct-2000 |
Andi Gutmans <andi@php.net> |
- Fix request_uri to take it's value from SCRIPT_NAME if PATH_INFO is not defined
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2622eba |
|
30-Sep-2000 |
Andi Gutmans <andi@php.net> |
- Cleanup some output functions
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 91c808e |
|
08-Sep-2000 |
Zeev Suraski <zeev@php.net> |
Restore the headers_only test to the centralized SAPI startup. If necessary, it can be overriden in the activate() callback.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 315f4f5 |
|
27-Aug-2000 |
Stig Bakken <ssb@php.net> |
@PHP 3 regression testing framework re-born (Stig) Took the old PHP 3 regression testing framework and rewrote it in PHP. Should work on both Windows and UNIX, however I have not tested it on Windows. See tests/README for how to write tests. Added the PHP 3 tests and converted most of them.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5090b1e |
|
13-Aug-2000 |
Stanislav Malyshev <stas@php.net> |
Fix zend_fiel_handle handling. Should fix URL include and various opened_path inconsistencies.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| db08721 |
|
05-Aug-2000 |
Stanislav Malyshev <stas@php.net> |
Fix crash on broken setups (#5979)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 76a2d25 |
|
02-Aug-2000 |
Rasmus Lerdorf <rasmus@php.net> |
Heads up! I have moved the headers_only and response_code checks out of SAPI and down into the individual SAPI modules. I have made the appropriate changes in all the SAPI modules, but please verify these. The reason for this change is that Apache sometimes will feed PHP a request_method of GET but have r->header_only set to true. This happens in an ErrorDocument redirect. In this same scenario we want to preserve the status code as well instead of just overwriting it with a 200 and losing this information. For now the other sapi modules act exactly as before since they probably do not make this distinction, and they may not even have a valid response code this early in the request. @ Fix HEAD request bug on an Apache ErrorDocument redirect and preserve @ the status code across the redirect as well. (Rasmus)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 52ff887 |
|
29-Jul-2000 |
Zeev Suraski <zeev@php.net> |
Made ob_start() and friends reentrant. It's now possible to implement this long-requested functionality, now that output buffering is re-entrant: function eval_ret($code) { ob_start(); eval($code); $retval = ob_get_contents(); ob_end_clean(); return $retval; }
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1a7f851 |
|
28-Jul-2000 |
Hartmut Holzgraefe <hholzgra@php.net> |
added '-l' option to command line / CGI version for 'syntax check only' plus a little cleanup and rearranging in command line option parsing @ CGI aka. command line version has now an option '-l' for syntax check @ without execution (Hartmut)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4c6ffdb |
|
13-Jul-2000 |
Stanislav Malyshev <stas@php.net> |
make -c in stand-alone mode work again. Setting ini_path after php_module_startup doesn't do much good - since php_module_startup reads .ini. # This fix is very ugly. Everyone is welcome to make better fix # that won't report errors twice and won't scan argument 3 times
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 85422c3 |
|
29-Jun-2000 |
Andi Gutmans <andi@php.net> |
- Extra newline crept in somehow
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1f828a6 |
|
29-Jun-2000 |
Andi Gutmans <andi@php.net> |
- Fix problem with DICARD_PATH being defined in windows
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4010b42 |
|
26-Jun-2000 |
Andrei Zmievski <andrei@php.net> |
Separate plain name returned by php_sapi_module() and pretty name used for output.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| fd11a7e |
|
26-Jun-2000 |
Andi Gutmans <andi@php.net> |
- Pray this is an OK fix for the DISCARD_PATH junk
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 378440f |
|
26-Jun-2000 |
Stanislav Malyshev <stas@php.net> |
Right name for the function persist_alloc
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 91ed009 |
|
26-Jun-2000 |
Andi Gutmans <andi@php.net> |
- Try two in fixing the problem with memory leaks reporting path_translated
/PHP_5_4/sapi/cgi/cgi_main.c
|
| effa426 |
|
26-Jun-2000 |
Zeev Suraski <zeev@php.net> |
- Fix problem with filename being freed before possible memory leaks are - reported by the memory manager
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5be54ab |
|
26-Jun-2000 |
Stanislav Malyshev <stas@php.net> |
If we freed it, we might not touch it # BTW, this is not a real fix - we still might use it # when reporting memory leaks, but at least we won't reference # unitialized memory
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 17ce568 |
|
15-Jun-2000 |
Andi Gutmans <andi@php.net> |
- Beautify a bit
/PHP_5_4/sapi/cgi/cgi_main.c
|
| fcefeee |
|
15-Jun-2000 |
Andi Gutmans <andi@php.net> |
- Try and fix crash with CGI. - Please check out the comment I wrote in init_request_info(). There was a - lot of code there which was running for no apparent reason. Should it be - removed or should it actually run?
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4c99114 |
|
15-Jun-2000 |
Andi Gutmans <andi@php.net> |
- Unncessary SLS_FETCH();
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6caf633 |
|
13-Jun-2000 |
Sascha Schumann <sas@php.net> |
Proper casts
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 77f4e1c |
|
10-Jun-2000 |
Andi Gutmans <andi@php.net> |
- This seems to be a bug. Anyone know who wrote this code? Should it stay - in?
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 102c6ce |
|
05-Jun-2000 |
Sascha Schumann <sas@php.net> |
Move main.h to php_main.h.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8c82566 |
|
27-May-2000 |
Andi Gutmans <andi@php.net> |
- Fix problem in sessions module under Win32. Need to use ; as an options - delimiter in save_path instead of :.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1895a09 |
|
25-May-2000 |
Zeev Suraski <zeev@php.net> |
Only fetch globals if it's necessary (which it usually won't be)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e319b5f |
|
25-May-2000 |
Thies C. Arntzen <thies@php.net> |
@- ignore_user_abort() & friends should now work in CGI mode as well. @ (Patch by daniel.braun@ercom.fr)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 22bfb79 |
|
22-May-2000 |
Hartmut Holzgraefe <hholzgra@php.net> |
-i, -v, -h and -? execution pathes didn't flush the output buffer on exit, resultiong in no output at all when "output-buffering=On" ( BUG id#3420 )
/PHP_5_4/sapi/cgi/cgi_main.c
|
| e043439 |
|
18-May-2000 |
Zeev Suraski <zeev@php.net> |
Update the license with the new clause 6
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0d194ec |
|
05-May-2000 |
Andi Gutmans <andi@php.net> |
- Fix problem with sapi_globals being used before it is initialized.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 198537b |
|
05-May-2000 |
Andi Gutmans <andi@php.net> |
- Make Windows compile again.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0b33ac7 |
|
04-May-2000 |
Zeev Suraski <zeev@php.net> |
- Add -z and -g switches to the CGI
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9aba6a9 |
|
20-Apr-2000 |
Andi Gutmans <andi@php.net> |
- Another PHP_WIN32 patch
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f9e9cab |
|
20-Apr-2000 |
Andi Gutmans <andi@php.net> |
- Change to PHP_WIN32
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0540bbe |
|
20-Apr-2000 |
Thies C. Arntzen <thies@php.net> |
improve fix
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 429cf80 |
|
19-Apr-2000 |
Frank M. Kromann <fmk@php.net> |
SIGPIPE is unknown on WIN32 platforms
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 19a9577 |
|
19-Apr-2000 |
Thies C. Arntzen <thies@php.net> |
ignore SIGPIPE in standalone-mode so that one can actually use fsockopen() *and* have the remote side close the socket whithout PHP dying!
/PHP_5_4/sapi/cgi/cgi_main.c
|
| bb09ee9 |
|
12-Mar-2000 |
Sascha Schumann <sas@php.net> |
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| caeaaf4 |
|
12-Mar-2000 |
Sascha Schumann <sas@php.net> |
Fix build on systems which lack snprintf or vsnprintf. PR: #3786
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 1261271 |
|
26-Feb-2000 |
Zeev Suraski <zeev@php.net> |
Allow the INI callbacks to know at what stage PHP is
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b7e53b1 |
|
21-Feb-2000 |
Thies C. Arntzen <thies@php.net> |
compile-fix
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 86fa2aa |
|
19-Feb-2000 |
Zeev Suraski <zeev@php.net> |
the pipe is breaking all the time
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 80bdd19 |
|
11-Feb-2000 |
Zeev Suraski <zeev@php.net> |
Fine tune Andi's patch
/PHP_5_4/sapi/cgi/cgi_main.c
|
| f9e0d94 |
|
11-Feb-2000 |
Andi Gutmans <andi@php.net> |
- Baby steps with PHP_WIN32 :)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6723bdd |
|
10-Feb-2000 |
Zeev Suraski <zeev@php.net> |
request_info.c is giving up
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 6d0ab61 |
|
10-Feb-2000 |
Zeev Suraski <zeev@php.net> |
SAPIfication, Episode VI: Return of the SAPI Remove mostly all references to APACHE and CGI_BINARY from the code. - Apache include files are no longer included by any PHP code, except for the Apache SAPI module. - No server specific code is in any of the base PHP code. Still left to be done: - Eliminate any references to APACHE from the few remaining modules. - Move request_info.c's logic to SAPI - Modify the regex function names, and globals, so that we can always include them, without having to fear any interference with Apache; Always use the bundled regex library
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5bdd18c |
|
10-Feb-2000 |
Zeev Suraski <zeev@php.net> |
Yes, you guessed it... More cleanup
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 0fd89aa |
|
10-Feb-2000 |
Zeev Suraski <zeev@php.net> |
More cleanup - move getenv() to SAPI
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 7d926a0 |
|
10-Feb-2000 |
Zeev Suraski <zeev@php.net> |
More cleanup...
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 681f352 |
|
10-Feb-2000 |
Andrei Zmievski <andrei@php.net> |
Should be 'deactivate' rather than the opposite.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 073b148 |
|
10-Feb-2000 |
Zeev Suraski <zeev@php.net> |
More abstraction
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 59b53ea |
|
10-Feb-2000 |
Zeev Suraski <zeev@php.net> |
Always use getopt with CGI, never use it for anything else
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 404bbe1 |
|
10-Feb-2000 |
Zeev Suraski <zeev@php.net> |
Move the logging mechanism to SAPI
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b2449f9 |
|
29-Jan-2000 |
Zeev Suraski <zeev@php.net> |
- Change the argument order of php_register_variable() to something more intuitive. - Make the authentication variables be a part of the HTTP_SERVER_VARS[] array
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 99f079a |
|
28-Jan-2000 |
Zeev Suraski <zeev@php.net> |
- A few fixes - Added register_argv_argc directive to allow disabling of argv/argc
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9ab35ae |
|
28-Jan-2000 |
Zeev Suraski <zeev@php.net> |
Tried to centralize global variable registration as much as possible: - Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly to $HTTP_GET_VARS[], contain environment and server variables. Setting register_globals to Off will now also prevent registration of the environment and server variables into the global scope (Zeev) - Renamed gpc_globals to register_globals (Zeev) - Introduced variables_order that deprecates gpc_order, and allows control over the server and environment variables, in addition to GET/POST/Cookies (Zeev)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 972631b |
|
13-Jan-2000 |
Zeev Suraski <zeev@php.net> |
- Added flush() support to SAPI - Got rid of the old flush() implemenetation in favour of the new one - Added implicit_flush() support to the output buffering layer. @- Added implicit_flush() to control whether flush() should be called @ implicitly after any output (Zeev)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 43ae2bf |
|
01-Jan-2000 |
Sascha Schumann <sas@php.net> |
Happy Y2K patch! Happy new year (or the new millennium, depending on whether you start counting at 0 or 1).
/PHP_5_4/sapi/cgi/cgi_main.c
|
| b640c27 |
|
27-Dec-1999 |
Zeev Suraski <zeev@php.net> |
@- Fixed -c support in the standalone CGI binary (Zeev) Fixed -c support in the standalone CGI binary (Zeev)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ed0a307 |
|
20-Dec-1999 |
Sascha Schumann <sas@php.net> |
Use sapi_module_struct to contain SAPI module name
/PHP_5_4/sapi/cgi/cgi_main.c
|
| a3c6514 |
|
17-Dec-1999 |
Zeev Suraski <zeev@php.net> |
More php3_ annihilation
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 02d3b39 |
|
17-Dec-1999 |
Zeev Suraski <zeev@php.net> |
More php3_ annihilation
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 4a60eed |
|
05-Dec-1999 |
Sascha Schumann <sas@php.net> |
Fix some warnings
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 5b983c9 |
|
04-Dec-1999 |
Sascha Schumann <sas@php.net> |
Clean up php3.*\.h files. The files itself are renamed, and references in all .*\.[ch] files were changed. There is a slight chance that my script missed a few changes, please correct them manually.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 8713ce5 |
|
04-Dec-1999 |
Sascha Schumann <sas@php.net> |
Remove code references to serverapi
/PHP_5_4/sapi/cgi/cgi_main.c
|
| da5464b |
|
04-Dec-1999 |
Zeev Suraski <zeev@php.net> |
- zend_file_handles must now flag whether their .filename property should be free by Zend or not (uses e*() functions)
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 9781bf5 |
|
23-Nov-1999 |
Andrei Zmievski <andrei@php.net> |
(main) In this special case, free path_translated. Fix for #2795.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2681a6b |
|
23-Nov-1999 |
Sascha Schumann <sas@php.net> |
(main) Remove redundant statement, this is part of the initialization function.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 133c95c |
|
16-Oct-1999 |
Andi Gutmans <andi@php.net> |
- It's OK if we link dynamically.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| ad84f02 |
|
16-Oct-1999 |
Andi Gutmans <andi@php.net> |
- Get windows version to compile again. No biggy if array_map is not #if 0'd out even if it doesn't work.
/PHP_5_4/sapi/cgi/cgi_main.c
|
| 2a854ca |
|
27-Sep-1999 |
Stig Bakken <ssb@php.net> |
Generalized server-API build process on UNIX. Each SAPI implementation now has its own directory under sapi/, just like extensions have theirs under ext/. To make the final targets appear in the main dir, the top-level Makefile includes sapi/NN/Makefile.inc from the selected sapi backend. This is a plan Makefile stub without any autoconf substitutions. Each SAPI backend also has its own config.m4 like extensions (read at the end of diversion 2) and config.h.stub files. Each SAPI backend has to contain: config.m4: just like for extensions, this file contains autoconf/automake directives that end up in the configure script. The only difference is that the sapi config.m4 files are read in diversion (output block) 2 instead of 3. The sapi config.m4 files should set two variables: PHP_SAPI (which sapi backend to choose) and SAPI_TARGET (the name of the resulting library or program, previously BINNAME). If they are not specified, they will default to "cgi" and "php", respectively. Makefile.inc: has to exist, has to define "INSTALL_IT" to the command used to install the final target (or ":" for no operation). It also has to define a plain Makefile rule (without autoconf substitutions) to build $(SAPI_TARGET) Makefile.am: just what you think. Make sure your target is called "libphpsapi_NNN.a", where NNN is the value of PHP_SAPI. Some testing and fixing probably remains. To make everything hang together, I've done some ugly tricks that I can imagine causing some problems. I've built and run the CGI version and built the Apache DSO.
/PHP_5_4/sapi/cgi/cgi_main.c
|