The machine in question is a multi-server/site environment, and it would be a great benefit to be able to use a php.ini file for each site rather than one common file. The install notes say that PHP is supposed to look first in the web server's directory, which I take to mean the website's root directory, and then in c:\winnt. However when there are php.ini files in each site's root directory, no php.ini file in c:\winnt, and the machine has been restarted, phpinfo() still reports that the php.ini file being used is in c:\winnt--for all sites. I even went as far as to set up PHP individually for each site in IIS's App Mappings, instead of at the main server level and letting its use be inherited.

This is a Win2k Server SP4 machine with IIS5.0 and all available windows updates. PHP is version 4.3.10 using the SAPI version rather than CGI.

I may not be the world's foremost expert on IIS, but I'm not an amateur either. If anyone out there has experienced this problem and fixed it, I'd really like to know what you did. If not, I'd like to hear your ideas on what I might be doing wrong.

Thanks!

Scott

    Write a Reply...