PHP beginners: how to install and configure PHP in IIS

Source: Internet
Author: User
The premise is that your iis has been installed successfully and your php installation package has been downloaded. For iis installation, you can find a Windows XP disk, and the php installation package can be downloaded at www.php.com. 1. decompress the software package to c: php5. 2. copy all dll files in the directory to c. winnSyntaxHighlighter

The premise is that your iis has been installed successfully and your php installation package has been downloaded.

For iis installation, you can find a Windows xp disk, and the php installation package can be downloaded at www.php.com.

1. decompress the package to c: php5.

Copy the ghost and php. ini-dist files to c: winnt.

3. rename c: winntphp. ini-dist to php. ini.

4. open "program" = "administrative tools" = "internet service manager" under the "start" button ". Next, select the "main directory" page, click the "configuration" button under "application settings", and click the "add" button in the new window; enter "C: WINNTphp.exe % s" in the executable file, and enter ". php, and click OK ".

5. next, select the "ISAPI filter" page, click the "add" button, enter "php" in the "filter name", and enter "C: WINNTsystem32php5isapi" in the "executable file. dll, and click OK ".

6. select the "document" page, click the "add" button, enter "index. php" in "default document name", click "OK", and raise it to the highest level. You can also add common php file names, such as "default. phtml" and "index. php3.

Close all windows. after restarting the system, you can open IE browser for testing.

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.