Collections:
Other Resources:
Configuring IIS to Support PHP Scripts on Windows Systems
How to configure IIS to support PHP scripts on your Windows system?
✍: FYIcenter.com
1. Make sure that your IIS is running correctly.
2. Make sure that your PHP engine is installed correctly by reviewing our Verifying PHP Intallation tutorial.
3. Make sure that the php.ini configuration file and PHPRC environment variable are created correctly by reviewing our Creating PHP Configuration File tutorial.
4. Edit and save C:\Program Files\php-5.2.0-Win32\php.ini with "notepad" to set the following values:
doc_root = "C:\inetpub\wwwroot" cgi.force_redirect = 0
5. To configure IIS to support PHP scripts, click Start > Control Panel > Administrative Tools > Internet Information Services. The Internet Information Services window shows up.
6. Open Local Computer > Web Sites in the folder tree structure. Right mouse click on Default Web Site and select Properties. The properties dialog box shos up.
7. Click the Directory Security tab, select "Scripts only" for the Execute Permissions option.
8. Click the Configuration... button. The Applicatin Configuration dialog box shows up.
9. Click the Add button, enter .php for the Extension field.
10. Use the Browse button to set "C:\Program Files\php-5.2.0-Win32\php-cgi.ini" for the Executable field. Do not type in this value manually. It may not work because of the space character in the path name.
11. Click OK to save the new entry. And review the settings as shown in this picture:
12. Click OK buttons to close all dialog boxes.
2016-12-29, 16234🔥, 1💬
Popular Posts:
What is NetZero Toolbar - United Online NetZero dialup toolbar for Internet Explorer (IE) 7 browser?...
What is GoogleUpdaterService.exe - Google Updater Service? GoogleUpdaterService.exe is binary file o...
What is the scheduled task "\Microsoft\Windows\Sett ingSync\BackgroundUpload Task"on my Windows 8 com...
What is "Ulead Burning Helper" in my Windows 7 service list? And how is "Ulead Burning Helper" servi...
What is the installed program "Roslyn Language Services - x86" on my Windows 7 computer? Why it is n...