php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #52045
Patch php_main_php_ini.c-fpm-cgi.patch.txt revision 2010-08-24 18:01 UTC by fat@php.net
Patch php_main_php_ini.c-fpm-cgi.patch revision 2010-08-20 16:45 UTC by fat@php.net
revision 2010-07-23 11:36 UTC by fat@php.net
revision 2010-06-11 12:10 UTC by fat@php.net

Patch php_main_php_ini.c-fpm-cgi.patch for FPM related Bug #52045

Patch version 2010-06-11 12:10 UTC

Return to Bug #52045 | Download this patch
Patch Revisions: 2010-08-20 16:45 UTC | 2010-07-23 11:36 UTC | 2010-06-11 12:10 UTC

Developer: fat@php.net

Line 4 (now 4), was 12 lines, now 11 lines

  +++ main/php_ini.c	(copie de travail)
  @@ -434,7 +434,8 @@
   #endif
   
 -		/* Add cwd (not with CLI) */
  		/* Add cwd (not with CLI) */
  -		if (strcmp(sapi_module.name, "cli") != 0) {
 +		/* Add cwd (not with CLI and FPM) */
 +		if (strcmp(sapi_module.name, "cli") != 0 &&
 +		if (strcmp(sapi_module.name, "cli") &&
  +		    strcmp(sapi_module.name, "fpm-fcgi") != 0) {
   			if (*php_ini_search_path) {
   				strlcat(php_ini_search_path, paths_separator, search_path_size);
   			}
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC