URLScan.net

PHP is a server-side, HTML embedded scripting language used to create dynamic Web content. PHP scripts can be embedded in HTML code and use similar syntax to the Perl and C programming languages.


Installing PHP Support on Microsoft IIS6

 

It's always possible to download & install PHP windows installer but most recommended to manually install PHP if you care to understend what need to be done to enable new file extension & to be able to trouble shoot errors in php scripts. PHP installation can be done in a few minutes:

1.First, Download latest version of PHP (Windows Binaries ZIP File) from www.php.net

2.Unzip contents to c:\php\

3.Add c:\php to Windows Environment Variables Path




configure php in microsoft iis

4.Make sure that NETWORK SERVICE user account have read & Execute
   Permissions to that folder.

5.Copy file c:\php\php.ini-recommended to c:\windows\php.ini

6.At IIS Manager add new web service extention named PHP and
   point to C:\php\php5isapi.dll

configure php in microsoft iis

7.At IIS Manager open Web Sites Application Configuration Properties & add
   new Application Extention

Mapping the PHP extention to php5isapi.dll can be done on per web site base, just add the new Application Extention at the desired Web Site Application Configuration insted in the Application Configuration of the Web Sites Container.
     Set Executble to C:\php\php5isapi.dll
     Set Extention to .php
     Limit verbs to GET,HEAD,POST
     Clear the Verify that file exist check box

configure php in microsoft iis

8.Restart IIS Services (iisreset.exe)

9.To check if PHP is correctly installed & check php configuration, create on any web site
   on the server file named test.php contained the code:

<?
phpinfo();
?>

   Browse to the file

Don't forget to add .php to AllowExtensions section on urlscan.ini file