Re: PHP4 as ISAPI Filter on Win98

From: Date: Mon, 26 Jun 2000 21:38:53 +0000
Subject: Re: PHP4 as ISAPI Filter on Win98
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-665@lists.php.net to get a copy of this message
I found the .reg file in one of these archives, but basically for my win95 machine I just had to do the following: HKEY_LOCAL_MACHINE System W3SVC Parameters Script Map Add .php "c:\Program Files\php\php4isapi.dll" (using your path of course!) But since I tried running php before I had this properly setup, I ran intor problems with missing library files. So, more info in case you're still stuck. I discovered a WAM.event.log in my windows directory that revealed that the path for php4isapi.dll was wrong. I also looked through a MetaBase.bin file found in my windows\system\inetsrv directory and saw the same wrong path information. To fix my install I took the brute force method and verified the registry setting for the path and then uninstalled/reinstalled PWS. Everything is fine now, and the .bin file shows the proper path. "Dirk Maetens" <dirk.maetens@tvd.be> wrote in message news:3952274A.3660844C@tvd.be... > Hello *, > > According to the installation notes that come with PHP4.0.0-win32 it is > possible to install PHP as a module in IIS 4.0: > > <snip> > > - Install the php.ini file and the DLLs as mentioned above. > - Start the Microsoft Management Console (may appear as > 'Internet Service Manager'). > - Under 'ISAPI Filters', add a new ISAPI filter. Use 'PHP' as the > filter name, > and supply a path to the php4isapi.dll that is included in the > distribution. > - Under 'Home Directory', click on the 'Configuration' button. Add a > new entry > to the Application Mappings; Use the path the php4isapi.dll as the > Executable, > supply .php as the extension, leave 'Method exclusions', blank, and > check > the Script engine checkbox. > - Stop IIS completely (you would have to stop the IIS Administration > service for > that - stopping it through the Management Console isn't good enough; > You can > do it by typing 'net stop iisadmin' on a command prompt). > - Start IIS again (you can do it by typing 'net start w3svc' on a > command prompt). > - Put a .php file under your Web server's document root and check if it > works! > > </snip> > > Trying to get this to work on win98/PWS (which is after all a > scaled-down IIS), > will demand some registry work. Since win98 doesn't have the Management > Console thingy, I was wondering whether someone would be so kind to post > > a snapshot of the relevant registry entries ? In return I will be glad > to write a > 'php_isap_iis_reg.inf' file to put in the win32 distribution... > if it is at all possible to make it work that is. > > TIA ! > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#665) next »