Jump to content

PHP5.2.1, IIS5, Path to php.ini?


Nathanl

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

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.