[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-install
Subject:    [PHP-INSTALL] Re: PHP 5.1.6 ISAPI mode on IIS5 doesn't seem to load extensions...
From:       130.225.90.86
Date:       2006-11-01 9:01:35
Message-ID: 6B.66.40279.F6268454 () pb1 ! pair ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic