Daniel Smedegaard Buus wrote: > Daniel Smedegaard Buus wrote: > >> blahblahblah > > Okay, so as it turns out, the problem is that IIS/PHP looks for php.ini in > c:\winnt, and not in c:\php even though I've added it to the path, and > confirmed that it IS registerede in the path (running "php" from a prompt > anywhere loads php.exe from the c:\php directory). > > Does anybody know why? > > Thanks :) >
Okay, so it seems that the "c:\winnt" search path is compiled into php5isapi.dll. What you have to do is create a new system environment variable called "PHPRC" and give it the php installation directory as value, e.g. in my case "C:\php". And then you have to reboot. Really. This is Windows, you know. -- http://www.rhesusb.dk