#39191 [Opn->Fbk]: PHP.ini doesnt load

From: Date: Thu, 19 Oct 2006 07:42:56 +0000
Subject: #39191 [Opn->Fbk]: PHP.ini doesnt load
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-103716@lists.php.net to get a copy of this message
ID: 39191 Updated by: tony2001@php.net 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: Where did you put it? What is the valie of "php.ini" in phpinfo()? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#103716) next »