summaryrefslogtreecommitdiff
path: root/sapi
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #67060: use default mode of 660Stanislav Malyshev2014-04-292-3/+3
|
* Fix #66908: php-fpm reload leaks epoll_create() file descriptorJulio Pintos2014-04-201-1/+5
| | | | This patch fixes descriptor leak which could lead to DoS once Max open files is reached
* Fix bug #66482, replace wrong item name 'priority' with 'process.priority' ↵itxx002014-04-131-1/+1
| | | | in php-fpm.conf
* fix apr_psprintf format string from e0df4e3dba7c4ab92442b9e82c1de01fdbaa3cceJeff Trawick2014-04-131-1/+1
|
* Fixed bug #65715 php5embed.lib isn't provided anymoreAnatol Belski2014-03-241-0/+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
|
* add clear_env option to FPM configPaul Annesley2014-02-254-1/+16
| | | | | | | This makes it possible to leave the envoronment as is on startup and pass all the variables to the workers. The default value of clear_env is "yes", preserving previous behaviour. Patch by Paul Annesley.
* Bump yearXinchen Hui2014-01-0362-70/+70
|
* Fix bug #66008Rasmus Lerdorf2013-10-311-0/+1
|
* Fix typoRasmus Lerdorf2013-10-201-1/+1
|
* Initialize these to make Coverity happyRasmus Lerdorf2013-10-191-2/+3
|
* Typo fix: managment -> managementLior Kaplan2013-10-191-1/+1
|
* Use minus sign instead of hyphenLior Kaplan2013-10-191-1/+1
|
* - Fixed bug #65818 (Segfault with built-in webserver and chunked transfer ↵Felipe Pena2013-10-051-0/+1
| | | | encoding)
* 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).
* Reduce (some) compile noise of 'unused variable' and 'may be used ↵Christopher Jones2013-08-141-1/+1
| | | | uninitialized' warnings.
* 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>
* non living code related typo fixesVeres Lajos2013-08-045-5/+5
|
* typo fixesVeres Lajos2013-07-152-2/+2
|
* 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
|
* fix typo in php man pageRemi Collet2013-07-021-1/+1
|
* Fixed Bug #65143 Missing php-cgi man pageRemi Collet2013-07-024-0/+8
| | | | | | | Currently php-cgi man page is a simple redirect to php (CLI) man page. Could be splited / improved in the future.
* - Fixed bug #63983 (enabling FPM borks compile on FreeBSD) patch by: ↵Felipe Pena2013-06-261-0/+13
| | | | chibisuke at web dot de
* 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).
* Fix bug #64764: Add status option to fpm init.d scriptLior Kaplan2013-06-161-1/+15
|
* Merge branch 'pull-request/341'Stanislav Malyshev2013-06-107-7/+7
| | | | | * pull-request/341: (23 commits) typofixes
* typo fixes (argument)Veres Lajos2013-06-101-1/+1
|
* typo fixes (accommodate, parameter)Veres Lajos2013-06-101-1/+1
|
* Fixed Bug #64915 (error_log ignored when daemonize=0)Remi Collet2013-05-241-0/+4
| | | | | Use configured error_log file when stderr is not a tty. So only use tty during interactive debug run.
* Add --with-fpm-systemd option to report health to systemd, andRemi Collet2013-05-218-2/+189
| | | | | | | | | | | | | systemd_interval option to configure this. The service can now use Type=notify in the systemd unit file. Systemd status line will looks like: Status: "Processes active: 0, idle: 5, Requests: 90, slow: 0, Traffic: 10req/sec" Watchdog mode is also supported. In this case watchdog interval, configured in the unit file, override the systemd_interval option. When not used (default), no change from previous version.
* Merge branch 'PHP-5.3' into PHP-5.4Remi Collet2013-05-034-4/+12
|\ | | | | | | | | * PHP-5.3: From code coverity scan, syscall return value must be check.
| * From code coverity scan, syscall return value must be check.Remi Collet2013-05-034-4/+12
| | | | | | | | | | | | | | | | To not alter current behaviour, we simply log the problem, so, if it occurs, the message will give explanation. This are only warning as they don't block the server, but such fail can explain strange (not expected) behaviour later.
* | Merge branch 'PHP-5.3' into PHP-5.4Remi Collet2013-05-022-1/+6
|\ \ | |/ | | | | | | * PHP-5.3: fix more resource leaks
| * fix more resource leaksRemi Collet2013-05-022-1/+6
| |
* | Merge branch 'PHP-5.3' into PHP-5.4Remi Collet2013-05-023-5/+27
|\ \ | |/ | | | | | | * PHP-5.3: From code coverity scan - fix some memory leak - fix some resources leak (fd) - create fpm_worker_pool_free (shared use) - possible null dref (wp->user and wp->home can be null)
| * From code coverity scanRemi Collet2013-05-023-5/+27
| | | | | | | | | | | | | | - fix some memory leak - fix some resources leak (fd) - create fpm_worker_pool_free (shared use) - possible null dref (wp->user and wp->home can be null)
* | Merge branch 'PHP-5.3' into PHP-5.4Remi Collet2013-05-021-6/+6
|\ \ | |/ | | | | | | * PHP-5.3: fixed size array cannot be null
| * fixed size array cannot be nullRemi Collet2013-05-021-6/+6
| |
* | Merge branch 'PHP-5.3' into PHP-5.4Remi Collet2013-05-021-3/+3
|\ \ | |/ | | | | | | | | * PHP-5.3: use limit_extensions as we use security_limit_extensions later (free) unused variable
| * use limit_extensions as we use security_limit_extensions later (free)Remi Collet2013-05-021-2/+2
| |
| * unused variableRemi Collet2013-05-021-1/+1
| |
* | Merge branch 'PHP-5.3' into PHP-5.4Remi Collet2013-05-021-102/+106
|\ \ | |/ | | | | | | * PHP-5.3: fix possible null deref (detected by code coverity scan)
| * fix possible null deref (detected by code coverity scan)Remi Collet2013-05-021-102/+106
| |
* | When Apache use RewriteRule to redirect, via mod_proxy_fgi, to php-fpmRemi Collet2013-04-301-1/+6
| | | | | | | | | | | | | | | | | | | | the SCRIPT_FILENAME may contains the QUERY_STRING. Ex : RewriteRule ^(.*)\.php$ fcgi://127.0.0.1:9000/$1.php [P] From apache debug (build with -DFCGI_DUMP_ENV_VARS) AH01062: sending env var 'SCRIPT_FILENAME' value 'proxy:fcgi://127.0.0.1:9000/var/www/html/info.php?foo' AH01071: Got error 'Primary script unknown\n'
* | Forgot to fix the test on 5.4Nikita Popov2013-03-281-1/+1
| |
* | Attempt to fix SKIPXinchen Hui2013-03-281-2/+7
| |