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