Faqts : Computers : Programming : Shopping For You : PHP : Installation and Setup

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 21 people (19%) answered Yes
Recently 3 of 10 people (30%) answered Yes


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:
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.