Printer Daemon service does not run iis7x configuration PHP Run Environment summary

Source: Internet
Author: User
Tags configuration php
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.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.