PHP not loading ini file
Posted: Sat May 10, 2008 6:55 pm
Trying to set up Apache/PHP/MySQL for a friend on his Windows XP box. Everything was installed, everything works great, except for the fact that PHP is not loading its ini file, even though I put it in the directory it listed in phpinfo.
It says the configuration file path is C:\Windows, but it says no config file is loaded, and although PHP still runs, the config file working is a bit crucial to the part of loading the MySQL stuff (which I'm sure you all know). Yes, there is a php.ini file in C:\Windows.
I did everything the exact same way that I did on my Vista machine back last week, and everything worked for me on the first try. Any help is appreciated.
Other actions I took:
Made sure I created system environment variable for PHPRC to C:/PHP
Used different php.ini files to make sure the one we had wasn't screwed up somehow.
It says the configuration file path is C:\Windows, but it says no config file is loaded, and although PHP still runs, the config file working is a bit crucial to the part of loading the MySQL stuff (which I'm sure you all know). Yes, there is a php.ini file in C:\Windows.
I did everything the exact same way that I did on my Vista machine back last week, and everything worked for me on the first try. Any help is appreciated.
Other actions I took:
Made sure I created system environment variable for PHPRC to C:/PHP
Used different php.ini files to make sure the one we had wasn't screwed up somehow.