summaryrefslogtreecommitdiff
path: root/sapi/cgi
Commit message (Collapse)AuthorAgeFilesLines
* Shut up, my lovely compiler; I do not like your warningsBob Weinand2014-04-111-1/+1
|
* Implement RFC https://wiki.php.net/rfc/default_encodingYasuo Ohgaki2014-02-132-14/+14
|
* Bump yearXinchen Hui2014-01-033-5/+5
|
* Merge branch 'PHP-5.5' into PHP-5.6Andrea Faulds2013-11-181-2/+2
|\ | | | | | | | | | | | | | | * PHP-5.5: Updated NEWS Removed UPGRADING note Rewrote test using tcp instead of http:// stream Implemented FR #65917 (getallheaders() is not supported by the built-in...)
| * Implemented FR #65917 (getallheaders() is not supported by the built-in...)Andrea Faulds2013-11-121-2/+2
| | | | | | | | | | | | | | | | | | - Implemented apache_request_headers() and getallheaders() alias in CLI server - Implemented apache_response_headers() in CLI server using FastCGI code Conflicts: NEWS UPGRADING
* | Merge branch 'pull-request/500'Anatol Belski2013-11-051-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/500: limit virtual_cwd_activate() duplicated call to ZTS only reverted the previous commit, both calls are needed in TS mode virtual_cwd_activate() should be called only in one place back to do_alloca() removed unnecessary call simplify the state free macros compact the code to preserve the error info after state freeing back to do_alloca(), reverted the wrong replacement enabled windows to use stack in both ts/nts mode, some more fixes moved to do_alloca() usage where appropriate fixed invalid free fixed virtual cwd header in phar updated NEWS fixed all the places where last error could be lost preserve the error code applied and fixed the original patch initial move on renaming files and fixing includes Conflicts: ext/opcache/ZendAccelerator.c
| * | fixed invalid freeAnatol Belski2013-10-211-2/+2
| | |
| * | Merge branch 'PHP-5.5'Dmitry Stogov2013-10-011-22/+5
| |\ \ | | | | | | | | | | | | | | | | * PHP-5.5: Reverted patch (it was used for internal testing and was committed by accident)
| | * | Reverted patch (it was used for internal testing and was committed by accident)Dmitry Stogov2013-10-011-22/+5
| | | |
| * | | Merge branch 'PHP-5.5'Dmitry Stogov2013-09-271-5/+22
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Added support for GNU Hurd. (Svante Signell) Conflicts: NEWS
| | * | Added support for GNU Hurd. (Svante Signell)Dmitry Stogov2013-09-271-5/+22
| | |/
* | | fix limitation of upload size == (U)INT_MAX in CGIMichael Wallner2013-10-281-1/+4
|/ /
* | Merge branch 'PHP-5.5'Stanislav Malyshev2013-08-101-0/+1
|\ \ | |/ | | | | | | | | * PHP-5.5: Fix #61345: fix install of CGI binary Fix #61345: fix install of CGI binary
| * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-08-101-0/+1
| |\ | | | | | | | | | | | | * PHP-5.4: Fix #61345: fix install of CGI binary
| | * Fix #61345: fix install of CGI binaryMichael Heimpold2013-08-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CLI was not built but only CGI binary, then a sequence of $ ./buildconf $ ./configure --prefix=/usr/local/phpcgi --disable-cli $ make -j8 $ sudo rm -rf /usr/local/phpcgi $ sudo make install results in the following error: /bin/bash /srv/smb/php-src.test/libtool --silent --preserve-dup-deps --mode=install cp ext/opcache/opcache.la /srv/smb/php-src.test/modules Installing shared extensions: /usr/local/phpcgi/lib/php/extensions/no-debug-non-zts-20121212/ Installing PHP CGI binary: /usr/local/phpcgi/bin/ cp: cannot create regular file `/usr/local/phpcgi/bin/#INST@28245#': No such file or directory make: *** [install-cgi] Fehler 1 The solution is to create the binary directory before copying the CGI binary as e.g. CLI does. Signed-off-by: Oliver Metz <oliver.metz@gmx.de> [extensive commit message] Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | | Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading filesRalf Lang2013-08-061-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | above 2G. This is essentially the same as the patch "uploads_larger_than_2g_HEAD_v2 (last revision 2012-03-26 03:59 UTC) by jason at infininull dot com)" but using off_t instead of signed long (originally: uint) I tested this on 64bit linux and succeeded uploading a file of 4.8 G. The File did not get corrupted or truncated in any way. I did not yet test this under windows or 32 bit linux Note that there are still limitations: * Did not test for files > 8 G * php does not yet reject absurdly high values * Still limited by underlying file system specific limits and free space * in upload * tmp dir and destination dir
* | Merge branch 'PHP-5.4' into PHP-5.5Remi Collet2013-07-023-0/+6
|\ \ | |/ | | | | | | | | | | * PHP-5.4: Fixed Bug #65142 Missing phar man page NEWS Fixed Bug #65143 Missing php-cgi man page
| * Fixed Bug #65143 Missing php-cgi man pageRemi Collet2013-07-023-0/+6
| | | | | | | | | | | | | | Currently php-cgi man page is a simple redirect to php (CLI) man page. Could be splited / improved in the future.
* | Added PHP_FCGI_BACKLOG, overrides the default listen backlogArnaud Le Blanc2013-06-291-1/+5
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-02-171-0/+4
|\ \ | |/ | | | | | | * PHP-5.4: Added HTTP codes as of RFC 6585
| * Added HTTP codes as of RFC 6585Jonh Wendell2013-02-171-0/+4
| | | | | | | | | | | | | | | | | | Added descriptions for the new HTTP codes: - 428 Precondition Required - 429 Too Many Requests - 431 Request Header Fields Too Large - 511 Network Authentication Required
| * Happy New YearXinchen Hui2013-01-013-5/+5
| |
* | Happy New YearXinchen Hui2013-01-013-5/+5
| |
* | Merge branch 'PHP-5.4'Xinchen Hui2012-08-181-2/+2
|\ \ | |/
| * Fix test failedXinchen Hui2012-08-181-2/+2
| |
* | Merge branch 'PHP-5.4'Xinchen Hui2012-07-181-1/+1
|\ \ | |/ | | | | | | * PHP-5.4: Fix test (no charset outputed)
| * Fix test (no charset outputed)Xinchen Hui2012-07-181-1/+1
| |
| * Fix broken apache_request_headers testRasmus Lerdorf2012-05-231-1/+3
| | | | | | | | | | This test depends on the default_charset setting, so set it to UTF-8 for consistent output
* | This test depends on the default_charset setting, so set it toRasmus Lerdorf2012-05-231-1/+3
| | | | | | | | UTF-8 for consistent output
* | Merge branch 'PHP-5.4'Stanislav Malyshev2012-05-082-2/+57
|\ \ | |/ | | | | | | | | | | | | * PHP-5.4: c++ comments restore BC ws + restore BC to apache_request_headers fix bug #61807 - Buffer Overflow in apache_request_headers
| * c++ commentsStanislav Malyshev2012-05-081-4/+4
| |
| * restore BCStanislav Malyshev2012-05-081-1/+1
| |
| * ws + restore BC to apache_request_headersStanislav Malyshev2012-05-081-7/+7
| |
| * fix bug #61807 - Buffer Overflow in apache_request_headersStanislav Malyshev2012-05-082-2/+57
| |
| * improve fix for CVE-2012-1823Stanislav Malyshev2012-05-071-3/+8
| |
* | Merge branch 'PHP-5.4'Stanislav Malyshev2012-05-071-3/+8
|\ \ | | | | | | | | | | | | | | | * PHP-5.4: improve fix for CVE-2012-1823 Fix for CVE-2012-1823
| * \ Merge branch 'PHP-5.3' into PHP-5.4Stanislav Malyshev2012-05-071-3/+8
| |\ \ | | |/ | |/| | | | | | | | | | * PHP-5.3: improve fix for CVE-2012-1823 Fix for CVE-2012-1823
| | * improve fix for CVE-2012-1823Stanislav Malyshev2012-05-071-3/+8
| | |
| | * Fix for CVE-2012-1823Rasmus Lerdorf2012-05-071-1/+14
| | |
* | | Merge branch 'PHP-5.4'David Soria Parra2012-05-051-1/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | By Rasmus Lerdorf * PHP-5.4: Fix for CVE-2012-1823 (cherry picked from commit 29300b1f9dab068d477b241d8fd872e3a7c829b3) Fix for CVE-2012-1823
| * | Fix for CVE-2012-1823Rasmus Lerdorf2012-05-041-1/+14
| | |
* | | Merge branch 'PHP-5.4'Felipe Pena2012-04-191-3/+4
|\ \ \ | |/ / | | | | | | | | | * PHP-5.4: - Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename set to null) patch by ab@php.net
| * | Merge branch 'PHP-5.3' into PHP-5.4Felipe Pena2012-04-191-3/+4
| |\ \ | | |/ | | | | | | | | | * PHP-5.3: - Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename set to null) patch by ab@php.net
| | * - Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename ↵Felipe Pena2012-04-191-3/+4
| | | | | | | | | | | | set to null) patch by ab@php.net
| | * Fixed bug #61605 (header_remove() does not remove all headers)Xinchen Hui2012-04-041-0/+34
| | |
| | * Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831)Ondřej Surý2012-03-211-2/+4
| | |
| | * Always restore PG(magic_quote_gpc) on request shutdownDmitry Stogov2012-02-021-1/+3
| | |
| | * - Year++Felipe Pena2012-01-013-5/+5
| | |
| | * Fixed bug #60206 (possible integer overflow in content_length)Xinchen Hui2011-11-031-1/+1
| | |
| | * Fixed possible memory leakDmitry Stogov2011-08-111-1/+4
| | |