Quick installation, configuration, and debugging of PHP5.2.0 in IIS

Source: Internet
Author: User
Original post address: http://www.cnbruce.com/blog/showlog.asp? Log_id = 1113
I. Download
Http://download.csdn.net/source/1521121
Download the PHP 5.2.0 installer. You can also download it elsewhere.
2. PHP5 Installation Process
Open the installation file and start with "Next ".
Select accept Protocol
Select the PHP installation path. We recommend that you directly go to the root directory of the disk, for example, "C: \ PHP \"
Select "IIS 4 + ISAPI module" as the WEB Server Mode"
Confirm "Location" is the PHP installation directory
Install
"Finish" to complete PHP installation
3. Configure PHP
After installing PHP, you cannot use IIS to explain the PHP file. You need to configure
Open IIS, right-click the "Default site" attribute, and select "configuration" in the "main directory" category"
Click the Add button to map the application extension. The executable file is php5isapi. dll under the installed PHP Directory, And the extension is. php"
4. debug PHP
Create a folder in the local disk directory for PHP debugging, and quickly set the virtual path of the folder
Open the text editor and enter the code.
<? Php
Phpinfo ();
?>

Save the file to a defined folder and enter the file name to save.
Open IIS and debug PHP files

For more information about MySQL download, installation, and usage, see:
Http://www.cnbruce.com/blog/showlog.asp? Cat_id = 29 & log_id = 1101

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.