Fast installation, configuration, and debugging Php5.2.0_php basics in an IIS environment

Source: Internet
Author: User
Tags mysql download php website save file
Record the process in case of forgetting, just for reference.

one, where to get PHP

Open the download page of the official PHP website: http://www.php.net/downloads.php

Select the "PHP 5.2.0 installer [18,879kb]-Nov 2006" link for download



two, PHP5 installation process

Open the installation file, "Next" start



Choose to accept the agreement



Select the PHP installation path, recommended directly in the disk root directory, such as "C:\PHP\"



Select Web server as "IIS 4+ISAPI module"



Confirm "Location" for PHP installation directory



"Install" for installation



"Finish" to complete the installation of PHP



Third, configure PHP

After installing PHP, you cannot explain PHP files through IIS, you need to configure

Open IIS, right-click the properties of the default site, and select Configure in the home directory category



Click the Add button to map the application extension and browse for the executable file as "Php5isapi.dll" under the installed PHP directory, with the extension ". php"



four, debugging PHP

Create a folder in the local disk directory for debugging PHP, and quickly set the virtual path for the folder



Open a text editor, enter the code


<?php
Phpinfo ();
?>


Save the file in a defined folder and enter the save file name



Turn on IIS to debug PHP files





at the same time, for MySQL download, installation and use, 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.