Edit report at http://bugs.php.net/bug.php?id=51536&edit=1
ID: 51536 Updated by: [email protected] Reported by: [email protected] Summary: Add sapi binary location to php ini search path -Status: Wont fix +Status: Re-Opened Type: Feature/Change Request Package: *Configuration Issues Operating System: Windows -PHP Version: 5.2.13 +PHP Version: 5.4 Assigned To: pajoye New Comment: I don't understand why we can't make this fix in PHP 5.3. Anyway, we should atleast fix this in the trunk. Changed php version to 5.4. Previous Comments: ------------------------------------------------------------------------ [2010-05-01 21:00:52] [email protected] See my previous comment. Let make it clear(er) now. ------------------------------------------------------------------------ [2010-05-01 20:33:01] [email protected] The following patch has been added/updated: Patch Name: inipath_patch53 Revision: 1272738781 URL: http://bugs.php.net/patch-display.php?bug=51536&patch=inipath_patch53&revision=1272738781 ------------------------------------------------------------------------ [2010-05-01 20:31:46] [email protected] The following patch has been added/updated: Patch Name: define_phpdll_patch_53 Revision: 1272738705 URL: http://bugs.php.net/patch-display.php?bug=51536&patch=define_phpdll_patch_53&revision=1272738705 ------------------------------------------------------------------------ [2010-04-13 01:06:09] [email protected] As I said in my first comment I don't think we can make this change in 5.2 or 5.3. However we could have alternative solutions. I will take a 2nd look at this problem (there is another report about the ini path priorities). But again, what's the deal with SxS and 5.2/5.3? We can't do that either. ------------------------------------------------------------------------ [2010-04-12 23:44:45] [email protected] Yes, the fix is not needed for FastCGI but it is required for SAPIs which compile as dlls. Installer currently sets PHPRC environment variable at system level. To make different versions of PHP pick different php.ini in a SxS environment, it should stop creating PHPRC environment variable. Without PHPRC, SAPIs which are dlls won't be able to reach correct php.ini without this bug fix. This fix will be required in both PHP 5.2 and PHP 5.3 so that both versions don't have dependency on PHPRC. If one version requires PHPRC and installer sets it for that version, other version is going to pick php.ini from location specified by PHPRC unless we make PHP look for php.ini in SAPI binary location first. I understand that we want to keep locations specified by PHPRC and IniFilePath higher priority than SAPI binary folder. Given this, can this be fixed for both PHP 5.2 and PHP 5.3? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=51536 -- Edit this bug report at http://bugs.php.net/bug.php?id=51536&edit=1
