|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-02-21 21:22 UTC] jani@php.net
-Package: Feature/Change Request
+Package: CGI related
[2021-02-03 12:00 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2021-02-03 12:00 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 04:00:01 2025 UTC |
Description: ------------ I don't see why PHP-CGI binary in CGI mode should not allow overriding php.ini location. Please kindly consider this simple patch: diff -ruN -x '*~' php4-4.4.2.orig/sapi/cgi/cgi_main.c php4-4.4.2.EDIT/sapi/cgi/cgi_main.c --- php4-4.4.2.orig/sapi/cgi/cgi_main.c 2006-01-01 20:47:01.000000000 +0700 +++ php4-4.4.2.EDIT/sapi/cgi/cgi_main.c 2006-03-19 22:27:34.000000000 +0700 @@ -1040,7 +1040,7 @@ } #endif - if (!cgi + if (1 #if PHP_FASTCGI /* allow ini override for fastcgi */ #endif