Nathanl Posted April 11, 2007 Share Posted April 11, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/46618-php521-iis5-path-to-phpini/ Share on other sites More sharing options...
Grouchiegrumbles Posted June 22, 2007 Share Posted June 22, 2007 You prolly need to delete the php.ini in the C:\winnt\ folder. Might make sure you only have the one php.ini file on your system. Quote Link to comment https://forums.phpfreaks.com/topic/46618-php521-iis5-path-to-phpini/#findComment-279893 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.