Jump to content

Recommended Posts

Ive installed PHP5.2.1 on a Windows 2000 server, running IIS5.

 

I need to modify the php.ini file, in order to change a few things. I made my changes, and then reloaded IIS, afterward the changes i made do not show up in phpinfo(), it also shows the path to php.ini as c:\winnt (not d:\php\php.ini as it shows on other servers which do not have this problem).

 

If i run php -r phpinfo(); from the command line, the path to php.ini is correct, and my changes are shown.

 

Ive tried removing and reinstalling PHP, but it doesnt help. 

 

PHP is installed a an isapi module.

 

Ive read that if the directory that contains php.ini is not in the systems path, this will happen, but it is, and it seems to work, if i run "php.exe" from anywhere in the system. it is found in the system path.

 

So what's the deal with the php isapi dll?  Why doesnt it reflect the same info that php from the command line does?

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/46618-php521-iis5-path-to-phpini/
Share on other sites

  • 2 months later...
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.