php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch php_main_php_ini.c-fpm-cgi.patch for FPM related Bug #52045Patch version 2010-07-23 11:36 UTC Return to Bug #52045 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions: 2010-08-20 16:45 UTC | 2010-07-23 11:36 UTC | 2010-06-11 12:10 UTCDeveloper: fat@php.net+++ 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) { + if (strcmp(sapi_module.name, "cli") && + /* Add cwd (not with CLI and FPM) */ + if (strcmp(sapi_module.name, "cli") != 0 && + strcmp(sapi_module.name, "fpm-fcgi") != 0) { if (*php_ini_search_path) { strlcat(php_ini_search_path, paths_separator, search_path_size); } |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Tue May 14 14:01:33 2024 UTC |