Hello... I was hoping that somebody could give me some advice as to how I could fix this issue with my installation of PHP 5.2.3 as a module of Apache 2.2.4 on my Windows XP Pro SP2 system:
I recently installed Apache 2.2.4 to C:/apache using the installer, then I manually installed PHP 5.2.3 into C:/apache/php. After configuring doc_root in my php.ini file accordingly, I set up PHP as a module for Apache by adding the following lines to my Apache httpd.conf configuration file:
LoadModule php5_module php/php5apache2_2.dll
AddType application/x-httpd-php .php
PHPIniDir php
While I didn't explicitly set these paths, ServerRoot in my configuration file is set as "C:\apache", so I figured that it shouldn't be an issue (for the record, I tried explicitly configuring the paths).
When I tested the installation, I obtained the following:
Configuration File (php.ini) Path: C:\Windows
Loaded Configuration File: C:\apache\php\php.ini
It appears as if php.ini loads properly, but Apache doesn't recognize the path that I specified to the php.ini file. While the installation appears to have worked, I don't understand why the path to php.ini doesn't read C:\apache\php. Does anybody have any suggestions as to how I can fix this issue?
Perhaps it isn't worth fixing, but it's driving me crazy...
Thanks a lot.