Installing php on IIS
Moderator: General Moderators
Installing php on IIS
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?
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Being a newbie as well I used this http://www.php.net/manual/en/install.wi ... .installer
log and falling off sprang to mind when I tried it......

log and falling off sprang to mind when I tried it......
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Ok now i've installed php on my machine
I want to install the phpbb software also.
I get to the installtion page and I fill in all the details but when I click on Install get the following:
Do I have to manually create the DB in SQL?
I want to install the phpbb software also.
I get to the installtion page and I fill in all the details but when I click on Install get the following:
Code: Select all
Warning: mysql_connect(): Access denied for user 'MyFirstForum'@'localhost' (using password: YES) in c:\inetpub\wwwroot\forum\db\mysql4.php on line 48
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in c:\inetpub\wwwroot\forum\db\mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in c:\inetpub\wwwroot\forum\db\mysql4.php on line 331
phpBB : Critical Error
Could not connect to the database