Entry
My php.ini is not read. I have created one in the dir that phpinfo returns, but no joy.
Sep 4th, 2005 21:48
Darren Kent, Adrian Kelland,
I had this same problem and the only way I found to solve it was to add
a key in the registry under:
HKEY_LOCAL_MACHINE
SOFTWARE
Once you navigate to there, add a key named PHP and then add a key named
"IniFilePath" (without the quotes) with a value equal to the directory
where your php.ini file is located (i.e c:\php). I had installed php 20
times before and never had this problem, but the last server I loaded it
on would not load my php.ini file no matter where it was located. I had
added the path to my php folder in the Path variable under Windows
environment variables, and it still didn't work, but by adding that
registry key it started working perfectly. Hope this helps.
-Darren