Page 1 of 1
Problems getting php.ini to change
Posted: Wed Dec 06, 2006 9:46 am
by cruggiero
I'm using IIS to host a php server. I'm trying to get the mysql extension to work but it seems no matter what I do I can't get the php.ini file changes to take affect. I've tried restarting the server and IIS while the php.ini file WASNT IN THE C:\PHP\ DIRECTORY and it still give the same information on a php info dump. Please help!
Posted: Wed Dec 06, 2006 9:57 am
by Skittlewidth
Depending on how PHP got installed on the server you might find that there are php.ini files in various places on your system, and only one of them will be the one that PHP/IIS is taking notice of, i.e the one in C:\PHP is typically not the one that gets used, although this is how I prefer to set up my local testing PCs (albeit with Apache).
Do a search for any other php.ini files and see if you have duplicates.
Posted: Wed Dec 06, 2006 10:14 am
by John Cartwright
phpinfo() will give you the correct php.ini path