Jump to content

php.ini not being found


Recommended Posts

I am having a really big headache getting PHP5 installed on a Win XP machine and IIS.

The gist of the issue is that the output from phpinfo() shows the Configuration File Path as C:\WINDOWS. Now, from much frantic googling, I have discovered that this means that the php.ini file has not been found (i.e. had it been found the filename would be included in this path e.g. C:\php\php.ini).

This I can just about accept. However, the PHP and Zend sites both tell me the order and locations that PHP looks for the file. This includes the PATH, an environment variable called PHPRC and a registry key. I have inserted C:\PHP into all of these, and the result is always the same. I have stuck EVERYONE with full control to the entire PHP folder and files, and still it won't work.......

Has anyone any ideas? I am rapidly losing the will to live.

???

Simon
Link to comment
https://forums.phpfreaks.com/topic/14844-phpini-not-being-found/
Share on other sites

Okay. Make sure you have set the variable correctly, making sure there is a semi-colon before your PHP PATH variable. Also for a test move your php.ini to C:\WINNT (if available) or C:\WINDOWS folder. Restart IIS/Computer is PHP reading the php.ini?
Link to comment
https://forums.phpfreaks.com/topic/14844-phpini-not-being-found/#findComment-59357
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.