|
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 |

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

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

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