summaryrefslogtreecommitdiff
path: root/sapi/cli
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-04-161-0/+3
|\ | | | | | | | | * PHP-5.5: Fixed bug #67079 Missing MIME types for XML/XSL files
| * Fixed bug #67079 Missing MIME types for XML/XSL filesAnatol Belski2014-04-161-0/+3
| |
* | add missing skip to the output, so we actually skip this testFerenc Kovacs2014-04-071-1/+1
| |
* | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2014-02-281-10/+1
|\ \ | |/ | | | | | | | | * PHP-5.5: man page: long option name is --strip, not --stripped --global have be removed in 5.2
| * Merge branch 'PHP-5.4' into PHP-5.5Remi Collet2014-02-281-10/+1
| |\ | | | | | | | | | | | | | | | * PHP-5.4: man page: long option name is --strip, not --stripped --global have be removed in 5.2
| | * man page: long option name is --strip, not --strippedRemi Collet2014-02-281-1/+1
| | |
| | * --global have be removed in 5.2Remi Collet2014-02-281-9/+0
| | |
| | * Bump yearXinchen Hui2014-01-034-5/+5
| | |
| * | Bump yearXinchen Hui2014-01-038-9/+9
| | |
* | | Implement RFC https://wiki.php.net/rfc/default_encodingYasuo Ohgaki2014-02-1318-26/+26
| | |
* | | Bump yearXinchen Hui2014-01-038-9/+9
| | |
* | | cli: don't cast away const in select() timeout argumentArd Biesheuvel2013-12-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The timeout argument to select() is modified to reflect the time remaining when the function returns on a non-timeout condition. Passing a pointer to const data and casting away the const-ness is asking for trouble, but for some reason, this trouble manifests itself only on non-x86 architectures [whose implementation of select() in glibc is different from the one supplied for x86] Fix this by passing a stack copy of the timeout argument to select()
* | | Merge branch 'PHP-5.5' into PHP-5.6Julien Pauli2013-11-261-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.5: Fixed a wrong test
| * | Fixed a wrong testJulien Pauli2013-11-261-1/+1
| | |
* | | Merge branch 'PHP-5.5' into PHP-5.6Andrea Faulds2013-11-182-0/+147
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * 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...)
| * | Merge branch 'CLIGetAllHeadersBackport' into PHP-5.5Andrea Faulds2013-11-182-0/+147
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * CLIGetAllHeadersBackport: Removed UPGRADING note Rewrote test using tcp instead of http:// stream Implemented FR #65917 (getallheaders() is not supported by the built-in...)
| | * | Rewrote test using tcp instead of http:// streamAndrea Faulds2013-11-121-17/+39
| | | |
| | * | Implemented FR #65917 (getallheaders() is not supported by the built-in...)Andrea Faulds2013-11-122-0/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 'PHP-5.5' into PHP-5.6Christopher Jones2013-11-151-0/+36
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-5.5: This is CLI web server change. Added some common MIME types to the existing lookup list, pending a more thorough lookup solution, if anyone wants to do that. Ref http://news.php.net/php.internals/69990
| * | | This is CLI web server change. Added some common MIME types to theChristopher Jones2013-11-151-0/+36
| |/ / | | | | | | | | | | | | | | | | | | | | | existing lookup list, pending a more thorough lookup solution, if anyone wants to do that. Ref http://news.php.net/php.internals/69990 A router can be used to add to, or override, the MIME type lookups, see http://php.net/manual/en/features.commandline.webserver.php
* | | Fixed assumption that the temporary directory is located in /tmpLevi Morrison2013-10-111-1/+1
| | |
* | | Merge branch 'PHP-5.5'Anatol Belski2013-10-071-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: added fixed tests for ICU >= 51.2 fixed failing tests for ICU >= 51.2 FIX BUG #65219 - Typo correction FIX BUG #65219 - USE DB not being sent for FreeTDS version < 0.92 FreeTDS <0.92 does not support DBSETLDBNAME option and therefore will not work with SQL Azure. Fallback to dbuse command in letter versions. - Fixed bug #65818 (Segfault with built-in webserver and chunked transfer encoding) - BFN
| * | Merge branch 'PHP-5.4' into PHP-5.5Felipe Pena2013-10-051-0/+1
| |\ \ | | |/ | | | | | | | | | | | | * PHP-5.4: - Fixed bug #65818 (Segfault with built-in webserver and chunked transfer encoding) - BFN
| | * - Fixed bug #65818 (Segfault with built-in webserver and chunked transfer ↵Felipe Pena2013-10-051-0/+1
| | | | | | | | | | | | encoding)
* | | Merge branch 'PHP-5.5'Anatol Belski2013-09-201-3/+4
|\ \ \ | |/ / | | | | | | | | | * PHP-5.5: Fixed bug #65678 the test cli_process_title_windows will fails on particular environnement
| * | Fixed bug #65678 the test cli_process_title_windows will fails on particular ↵Anatol Belski2013-09-201-3/+4
| | | | | | | | | | | | | | | | | | environnement Patch by Pierre Renaudet
* | | Merge branch 'PHP-5.5'Christopher Jones2013-09-191-0/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.5: Added application/pdf to PHP CLI Web Server mime types.
| * | Added application/pdf to PHP CLI Web Server mime types.Christopher Jones2013-09-191-0/+1
| | |
* | | Merge branch 'slim-postdata'Michael Wallner2013-09-171-2/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * slim-postdata: slim post data add NEWS entry; add simple test more precise condition make this work in vc11 too Use int64_t and atoll() after discussion with johannes ws Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.
| * | | slim post dataMichael Wallner2013-08-271-2/+1
| | | |
* | | | Merge branch 'PHP-5.5'Adam Harvey2013-09-092-10/+55
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | * PHP-5.5: Handle CLI server request headers case insensitively. 5.4.21 now
| * | | Merge branch 'PHP-5.4' into PHP-5.5Adam Harvey2013-09-092-10/+55
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: Handle CLI server request headers case insensitively. 5.4.21 now Conflicts: configure.in main/php_version.h
| | * | Handle CLI server request headers case insensitively.Adam Harvey2013-09-092-10/+55
| | | | | | | | | | | | | | | | Fixes bug #65633 (built-in server treat some http headers as case-sensitive).
* | | | Merge branch 'PHP-5.5'Christopher Jones2013-08-141-1/+1
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | | | | * PHP-5.5: Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings. Conflicts: ext/gmp/gmp.c
| * | Merge branch 'PHP-5.4' into PHP-5.5Christopher Jones2013-08-141-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | * PHP-5.4: Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings. Conflicts: ext/dba/libinifile/inifile.c
| | * Reduce (some) compile noise of 'unused variable' and 'may be used ↵Christopher Jones2013-08-141-1/+1
| | | | | | | | | | | | uninitialized' warnings.
* | | add NEWS entry; add simple testMichael Wallner2013-08-062-3/+102
| | |
* | | unify stdint type usageMichael Wallner2013-08-061-4/+2
|/ / | | | | | | if you need C99 stdint types, just include "php_stdint.h"
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-07-142-12/+13
|\ \ | |/ | | | | | | | | | | | | * PHP-5.4: Add built-in web server to invocation list Terminology: change embedded web server to built-in web server to align with cli usage Align -B and -E parameter names with cli usage (begin_code and end_code) Fix Bug #65219 DBSETLDBNAME should be called before login to set DBNAME in login record
| * Add built-in web server to invocation listLior Kaplan2013-07-141-1/+2
| |
| * Terminology: change embedded web server to built-in web server to align with ↵Lior Kaplan2013-07-141-3/+3
| | | | | | | | cli usage
| * Align -B and -E parameter names with cli usage (begin_code and end_code)Lior Kaplan2013-07-141-8/+8
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Remi Collet2013-07-021-1/+1
|\ \ | |/ | | | | | | * PHP-5.4: fix typo in php man page
| * fix typo in php man pageRemi Collet2013-07-021-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Remi Collet2013-07-021-0/+2
|\ \ | |/ | | | | | | | | | | * 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-021-0/+2
| | | | | | | | | | | | | | Currently php-cgi man page is a simple redirect to php (CLI) man page. Could be splited / improved in the future.
* | Merge branch 'PHP-5.4' into PHP-5.5Adam Harvey2013-06-204-18/+151
|\ \ | |/ | | | | | | | | * PHP-5.4: Fix the spelling of the php_cli_server_http_response_status_code_pair typedef. Change the search in get_status_string() to correctly handle unknown codes.
| * Fix the spelling of the php_cli_server_http_response_status_code_pair typedef.Adam Harvey2013-06-201-8/+8
| | | | | | | | | | Specifically: php_cli_server_http_reponse_status_code_pair → php_cli_server_http_response_status_code_pair.
| * Change the search in get_status_string() to correctly handle unknown codes.Adam Harvey2013-06-204-13/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This previously used a buggy implementation of binary search that would loop infinitely for unknown codes when searching in reason arrays of particular sizes (such as the one we have at the moment). Since C provides bsearch(), we'll just use that instead, since libc authors hopefully get this right. There was also an additional bug that was masked by the first one: the design was that an unknown code would result in get_status_string() returning NULL, which would then result in a segfault in append_http_status_line(), since it assumed that it would always receive a valid string pointer that could be handed off to smart_str_appends_ex(). We'll now return a placeholder in that case. Fixes bug #65066 (Cli server not responsive when responding with 422 http status code).
| * Forgot to fix the test on 5.4Nikita Popov2013-03-281-1/+1
| |