note 90855 rejected from install.windows by thiago

From: Date: Wed, 13 May 2009 13:07:41 +0000
Subject: note 90855 rejected from install.windows by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154547@lists.php.net to get a copy of this message
Note Submitter: dpharshman at dslextreme dot com ---- I'm installing PHP 5.2.9 (manually) on XP Pro SP3 with, of course, IIS 5.1 (plus MySQL 5.1, Wordpress, etc.). I'm using ISAPI instead of CGI, by the way. This is a dev machine, the final web site will get pushed to a host. No matter what I do I can't get phpinfo() to properly report the location of the Configuration File Path. It seems "glued to" C:\WINDOWS. I've: 1. Included PHP in the Windows PATH (before MySQL) as ";E\PHP;" 2. Added the PHPRC system variable pointing to my install location as "E:\PHP" 3. Modified PHP.INI's extension_dir to point to "e:\php\ext" 4. Modified the Registry to include: HKEY_LOCAL_MACHINE\SOFTWARE\PHP IniFilePath E:\PHP 5. Though it may not be relevant, I've set up the ISAPI module in IIS Properties for all "Web Sites" as follows: 5a. Added to the ISAPI Filters list: PHP pointing at e:\php\php5isapi.dll 5b. Set the Home Directory: Execute for Scripts Only and added the .php extension, having it point at the same location as above 6. Set the Documents, adding index.php and moving it to the top of the list 7. I then stopped and restarted IIS using net stop and net start (and completly rebooted my workstation too) No matter how many times I've checked my entries,when I run phpinfo( ) -- as test.php -- the "Loaded Configuration File" data is correct, but the "Configuration File Path for php.ini is not; it still points to "C:\WINDOWS". I'm not sure how serious this is, yet. The simple tests I've run so far seem to work okay but I'm concerned that having the Configuration File Path wrong, will "get me" sooner or later. Any help would be appreciated. Thanks in advance.

« previous php.notes (#154547) next »