How to Configure PHP on IIS 6
PHP is a programming language that allows you to create dynamic web pages. PHP is typically run on an Apache server, but you can also configure PHP to run on Internet Information Services (IIS), which is a Microsoft product. Before you can run PHP on a Microsoft IIS server, the programming language needs configurations on the server. This is required, so your web server recognizes the PHP language syntax and file extensions.
Instructions
-
-
1
Click the Windows "Start" button on your IIS server. Click "All Programs," click "Administrative Tools" and then click "Internet Services Manager." This opens the IIS console configuration manager.
-
2
Right-click your website name on the left side of the window that hosts your PHP files. Select "Properties" from the menu options.
-
-
3
Click "Add" in the "Web Sites" directory. In the opened window, click "Browse" to select the executable that processes the PHP files. For most installations, the file is "C:\php\isapi_fcgi.dll." Click "OK" to set your PHP executable.
-
4
Right-click the "Web Services Extensions" icon and select "Add a new web services extension." This opens a configuration window that allows you to enable the PHP extension on the web server.
-
5
Enter "PHP" and click the "OK" button. In the window that displays a list of extension options, click "PHP" and then click the "Allow" button. This allows the PHP file extension to run and sets an exception in the Windows firewall.
-
1
References
- Photo Credit computer image by blaine stiger from Fotolia.com