first, use IIS to run the PHP program
1. First download PHP, Here i download is php5.2.14 (if it is the other high version may not find Php5isapi.dll, its related configuration method for the time being), it is recommended to download the ZIP compression package, do not need to install it, and the download please pay attention to choose VC9 Package instead of VC6 (this is Apache). For example I unzipped to D:\ Php-5.2.14-win32.
2. Locate php.ini-dist modified to php.ini , and then open the file:
Find register_globals = Off
Modified to register_globals = on,
Find Extension_dir = "./"
Modify the path where the extension DLL is located in your compressed package, for example, my is D:\ php-5.2.14-win32\ext, modify to Extension_dir = "D:\ php-5.2.14-win32\ext"
Add an extension that will
; Extension=php_curl.dll
; Extension=php_dbase.dll
; Extension=php_gd2.dll
; Extension=php_ldap.dll
; Extension=php_mysql.dll
Front semicolon ";" Removed to enable these common extensions.
3. Create a Web site in IIS, for example: Phptest, by default adding an application pool to the application pool. The NETFramework version is modified to " unmanaged code " and the managed pipeline mode is modified to " classic ". Then add the application map to the website, add a script map, the request path is "*.php ", the executable file is "D:\php-5.2.14-Win32\php5isapi.dll " (depending on the directory where PHP is located).
So far you can run your PHP site. For example, a file named "index.php " is created at the root of the Web site, and the following interface appears after you add "run":
The above describes the printer daemon service is not running iis7x configuration PHP running environment Summary, including the printer daemon service does not run aspects of the content, I hope that the PHP tutorial interested in a friend helpful.