Installing php on IIS
Posted: Thu Oct 14, 2004 8:05 am
Hi,
Okay now I’m a complete newbie to all this.
I’ve downloaded the binary files for Win 32 and I’m trying to install it on Windows 2000 using IIS.
I’ve copied the file php4isapi.dll from the sapi/ directory to the WINNT/system directory. I also copied the file php.ini-dist to the same directory and renamed it php.ini.
Next, I went to Administrative Tools > Internet Services Manager > Default Web Site > Properties > ISAPI Filters
I clicked on Add and then used php as the name and in the path I put the location of php4isapi.dll, which should be C:\WINNT\system\
Under the Home tab I clicked on Configuration then Add for Application Mappings. I used the same location for the ISAPI Filters tab and used .php as the extension
I stopped and started the Web Service and then created a simple script called test.php and put the following code:
<?php
phpinfo();
?>
I saved this under C:\inetpub\wwwroot and I tried testing this in my browser but I got “Page cannot be displayed”
I’m tried everything and redid some of the steps but no joy. What could be wrong?
Okay now I’m a complete newbie to all this.
I’ve downloaded the binary files for Win 32 and I’m trying to install it on Windows 2000 using IIS.
I’ve copied the file php4isapi.dll from the sapi/ directory to the WINNT/system directory. I also copied the file php.ini-dist to the same directory and renamed it php.ini.
Next, I went to Administrative Tools > Internet Services Manager > Default Web Site > Properties > ISAPI Filters
I clicked on Add and then used php as the name and in the path I put the location of php4isapi.dll, which should be C:\WINNT\system\
Under the Home tab I clicked on Configuration then Add for Application Mappings. I used the same location for the ISAPI Filters tab and used .php as the extension
I stopped and started the Web Service and then created a simple script called test.php and put the following code:
<?php
phpinfo();
?>
I saved this under C:\inetpub\wwwroot and I tried testing this in my browser but I got “Page cannot be displayed”
I’m tried everything and redid some of the steps but no joy. What could be wrong?