Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
I've been in IT for years but I’m a newbie at setting up a blog site.
Background:
Right now I’m in the middle of manually installing PHP 5.2.9 (rather than using the .MSI) on XP Pro SP3 using IIS 5.1. I’ve verified IIS 5.1 and MMC 3.0 and already installed MySQL 5.1, and FileZilla. 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 but I want to do the development/learning locally. The reason I’m sticking with IIS is that my host does not support Apache, so WAMP / Xampp is out.
Issue:
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 researched this until my fingers are nubs (starting with but not limited to the PHP site) but I’m not coming up with anything that works. Here’s what I’ve done:
I've:
1. Included PHP in the Windows PATH (before MySQL’s) 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
5c. Mapped the .php extension, having it point at the same location as above and setting verbs to: GET,POST,HEAD
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 completely 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 (E:\PHP\php.ini), 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 -- and I've learned over the years not to drive passed issues that aren't solved or resolved.
Any help would be appreciated.
Thanks in advance.