Construction of PHP development environment: Lamp environment

Source: Internet
Author: User
Tags php development environment

Prior to the use of the Microsoft ASP. NET development environment on the computer, so first to stop the IIS services, or 80 port will be occupied.

One: Right button My Computer--management--service--find "World Wide Web Publishing Service", the right-click menu--stop,ok, the IIS service stops, and the IIS server stops.

In order to quickly build the PHP development environment, I used the xampp,:www. xampp. org

II: Download the XAMPP package and install it correctly

In general, clicking Apache or MySQL will cause an error because the port is occupied.

Three: Click Config, modify the port, such as 80 to 81. Open 127.0.0.1:81 Verify that there is no environment configured, if configured, there will be a default interface display.

Four: Create a new PHP file under the C:\xampp\htdocs directory, enter

<?php
echo "HelloWorld";
?>

Save.

In the browser address bar type http://127.0.0.1:81/test.php, if the correct display of HelloWorld, the PHP development environment to build success.

I usually use hbuilder to cooperate with lamp to develop HTML5.

Construction of PHP development environment: Lamp environment

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.