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 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) {
+ /* 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);
}
|