ID: 39191 Updated by: [EMAIL PROTECTED] Reported By: pholm at resmc dot com -Status: Open +Status: Feedback Bug Type: PHP options/info functions Operating System: Windows 2003 Server PHP Version: 5.1.6 New Comment:
Please follow the directions in the last comment here: http://bugs.php.net/bug.php?id=37919 And I have to ask it again (since you didn't reply): What is the valie of "php.ini" in phpinfo()? Previous Comments: ------------------------------------------------------------------------ [2006-10-19 07:53:19] pholm at resmc dot com Initially I used all the default values and locations; Put php.ini in both the D:\php folder and c:\Windows; Just to check if it had to do anything with the location it was loaded from; Later I added the PHPRC environment variable to point to D:\php and used only that location; Believe me.... I have spent 5 days and nites testing all possible combinations, before filling this error report!!! And indeed... I used (when php was loaded) the phpinfo() to verify the loaded location as well! ------------------------------------------------------------------------ [2006-10-19 07:42:56] [EMAIL PROTECTED] Where did you put it? What is the valie of "php.ini" in phpinfo()? ------------------------------------------------------------------------ [2006-10-18 23:30:41] pholm at resmc dot com Description: ------------ PHP.ini doesnt load at startup when IIS 6 is configured with a virtual directory and the doc_root parameter is set. Reproduce code: --------------- Tested basic php.ini files with 3 lines: doc_root = "D:\WWWroot" extension_dir = "D:\php5\ext" cgi.force_redirect = 0 Nothing from the file is loaded! When commentting out doc_root, the whole file is loaded; tested the same with the complete php.ini-recommended, gave the same result! Expected result: ---------------- Should have loaded other parameters at least. Note: It is assumed that this issue relates to having and virtual directory for the PHP code files under IIS6 Actual result: -------------- Resolution found with: - commentting out doc_root - to resolve limited directory entry use: open_basedir = D:\WWWroot ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39191&edit=1