Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.