Antony Dovgal
83e34669e0
fix minor leak in CGI sapi (happened once per child)
2009-12-23 09:40:28 +00:00
Antony Dovgal
0ad8b2ab2b
fix crash on empty doc_root
2009-10-20 12:57:44 +00:00
Stanislav Malyshev
7394d5bb6b
improve fix for #49767 and #47627 - make PHP report
...
"no script" on 404 again
2009-10-16 23:34:31 +00:00
Pierre Joye
4706ebbfe2
- #48779 , fix another use case where / usage may differ
2009-10-15 13:09:25 +00:00
Pierre Joye
29cec688e8
- #48779 , improve fix, drop usage of _tolower and use zend_strtolower
2009-10-12 14:40:27 +00:00
Felipe Pena
7bdb2e9e60
- Fixed build and comment-style
2009-10-09 20:01:16 +00:00
Garrett Serack
b7fbc646f1
- changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case insensitive (garretts)
2009-10-09 19:43:00 +00:00
Jani Taskinen
6d132cf814
- Simplified a bit and fixed possible memory corruption and definate leak.
2009-09-10 16:19:42 +00:00
Felipe Pena
792ae864ee
- Drop unused var
2009-09-05 18:21:10 +00:00
Jani Taskinen
7713cc89d9
- Fixed bug #49182 (PHP CGI always outputs the shebang line)
2009-09-05 17:07:14 +00:00
Pierre Joye
d39d0bc418
- fix build
2009-08-26 19:19:05 +00:00
Ilia Alshanetsky
29b1bc6238
Fixed variable clobbering
2009-08-26 15:29:06 +00:00
Jani Taskinen
b83fb47852
- Fix this again :)
2009-07-25 21:07:02 +00:00
Jani Taskinen
e10e4abda8
- Fix test
2009-07-25 00:35:25 +00:00
Pierre Joye
da915bc1c3
- MF53: [PHP-CVS] cvs: php-src(PHP_5_3) /sapi/cgi cgi_main.c
2009-06-22 20:15:27 +00:00
Pierre Joye
351b983419
- MF53: #47318 , UMR when trying to activate user config
2009-06-17 19:31:54 +00:00
David Soria Parra
21d5bbcb7a
Fix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache).
...
The fix was provided by Sriram Natarajan.
2009-06-09 13:32:12 +00:00
Jani Taskinen
d6e6a2461f
- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c)
2009-06-04 11:51:10 +00:00
Jani Taskinen
90010aad63
MFB: snprintf -> slprintf (Ilia)
2009-06-04 11:47:51 +00:00
Kalle Sommer Nielsen
70f99a9610
Fix compiler warnings introduced by the JIT commit
2009-05-28 20:47:01 +00:00
Jani Taskinen
1020fdde3c
ws + cs
2009-05-23 18:59:17 +00:00
Andrei Zmievski
afa4e41c2f
Implement JIT request decoding support for $_GET and $_POST.
2009-05-23 18:03:27 +00:00
Kalle Sommer Nielsen
c00b3c7fd8
Fix compiler warnings, and some unicode stuff
2009-05-19 16:03:23 +00:00
Arnaud Le Blanc
3bc34ef8c1
Fix tests (MFB, etc)
2009-04-24 19:47:43 +00:00
Marcus Boerger
d4f5b3f0a9
- This is PHP 6 - if this ... ever gets out
2009-03-10 23:40:06 +00:00
David Soria Parra
1770e94d92
Fix #47149 . Remove check for script_filename = path_translated, as this the actual value that we get from apache.
2009-01-19 18:16:52 +00:00
Dmitry Stogov
e35b825990
Disable dl() in CGI and FastCGI modes
2009-01-11 08:35:53 +00:00
David Soria Parra
4edee64c6c
Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache).
2009-01-09 22:13:40 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Pierre Joye
08796b0bb9
- WS
2008-12-11 10:20:30 +00:00
Pierre Joye
c33931489d
- ws
2008-12-11 00:15:05 +00:00
Matt Wilmas
3cfd3fe58d
Fixed bug #46782 (fastcgi.c parse error)
2008-12-07 10:54:16 +00:00
Dmitry Stogov
dcd2ff33e0
Fixed bug #46366 (bad cwd with / as pathinfo)
2008-11-28 11:57:11 +00:00
Felipe Pena
43791516db
- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!)
2008-11-17 11:26:25 +00:00
Arnaud Le Blanc
047870a61f
MFB: Added header_remove() (chsc at peytz dotdk, Arnaud)
2008-11-13 10:33:08 +00:00
Rasmus Lerdorf
f459896964
Fix for bug #46525 which fixes Ilia's fix for bug #46319
2008-11-09 15:50:13 +00:00
Felipe Pena
e006a89e71
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:10:13 +00:00
Felipe Pena
916b56d2d9
- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 16:02:16 +00:00
Arnaud Le Blanc
d5c0fbb06b
Fixed FCGI_GET_VALUES requests ( fixes #45522 )
2008-10-21 03:19:07 +00:00
Ilia Alshanetsky
23ed94cbba
MFB: Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304
...
response code, in cgi sapi)
2008-10-17 01:34:26 +00:00
Dmitry Stogov
1b6dbf2c7a
Fixed bug #45860 (header() function fails to correctly replace all Status lines)
2008-09-02 13:22:27 +00:00
Rasmus Lerdorf
cf06da29a5
Remove stray folding tag here
2008-08-26 15:37:38 +00:00
Dmitry Stogov
7a12ee1ccc
Fixed bug #45786 (FastCGI process exited unexpectedly)
2008-08-26 09:56:22 +00:00
Dmitry Stogov
d2197dfef8
Fix for bug #45786 (FastCGI process exited unexpectedly)
2008-08-18 10:48:49 +00:00
Dmitry Stogov
2f41686810
Fixed double call to MSHUTDOWN in case of php-cgi -m
2008-08-15 07:31:07 +00:00
Jani Taskinen
2f9fddbb7b
- Fix test
2008-08-14 20:50:56 +00:00
Jani Taskinen
5a6f6baa86
- Fix tests
2008-08-14 20:05:00 +00:00
Jani Taskinen
bc6a9ad209
[DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
...
[DOC] startup:
[DOC]
[DOC] To disable: Override default php.ini by using both -c and -n with
[DOC] CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
[DOC] to an empty string.
[DOC]
[DOC] To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
[DOC] to another path.
- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=/some/path)
- Implemented FR #45114 (Option to change --with-config-file-scan-dir)
2008-08-13 00:49:59 +00:00
Dmitry Stogov
c1ef996a1c
Removed shebang line check from CGI sapi (it is checked by scanner)
2008-08-04 07:20:44 +00:00
Dmitry Stogov
18076953a1
Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots))
2008-07-15 13:38:56 +00:00