This article talks about how to add support for PHP pages in Vista/Windows Server 2008 under IIS7. The efficiency of running PHP in Windows Server 2008 has increased by more than 40%.
System Environment: Vista /Windows Server 2008
First, install IIS7 (Control Panel\\Programs and Features, Windows Features). Under the default selection conditions, remember to check ISAPI. Two options.
After the installation is complete, enter http://127.0.0.1 in the browser. If nothing happens, an IIS7 welcome screen will appear.
Second, next, install PHP
Download the PHP installation package to: http://cn.php.net/downloads.php, download windows binaries here. After completing the PHP installation, I installed it in d:\\php. In this directory, I found php.ini-dist, renamed it to php.ini, opened php.ini:
Found:extension_dir = "./", replaced with extension_dir = "d:\\php";
Found: Windows Extensions:
Remove the comment for each line in the module configuration below, for example:
extension=php_mbstring.dll
extension=php_gd2.dll
extension=php_MySQL.dll
Save. Copy the file to your system's windows directory.
Third, create a new application pool in IIS7, the pool's .Net type is set to unmanaged.
Create a new website, open the "Read" and "Run Script" permissions, after completion, add ISAPI Filters
to this site and then add Handler Mapping
In the process, add D:\\PHP\\php5isapi.dll to Handler Mapping
OK, and all operations are completed. Now you can test if a PHP file is working properly.
The author is the webmaster of a website. In order to protect the security of the website, the websi
But because of the many similarities between X86 servers and desktops, there are m
Win Server 2008 as a print server troubleshooting
Windows2008 Setup Tutorial - Turn on AHCI feature
Graphical installation of IIS7 in Vista and configuration of ASP environment
Installation and pay attention to matters of a
Common 23 solutions for slowing down the network speed
Server rent and hosting price disparity How to weigh the pros and cons?
The difference between URL forwarding "hidden" and "not hidden"
Interpreting Windows 2008: Terminal Server Gateway
Linux server from entry to proficient 52 questions
Ubuntu Linux installation PHP development environment Zend Studio 5.5.1
The old machine must have small resources to occupy the software recommendation
Integrated OneDrive and full system backup in Win10 build 9901
Vista Optimizer does Vista system optimization
Windows7 self-repair mechanism crashes without reloading
Win10 system TXT text document can not open how to do
How to close the password display button in Win7
How to clear Win8 search record Delete Win8 search trace method
Solve the WIN8 boot prompt igfxTray Module has stopped working