Build PHP Environment locally

Source: Internet
Author: User

Appserv is the PHP Web site tool combination package, contains the software: apache[, Apache Monitor, PHP, MySQL, phpMyAdmin, etc., if your local machine has not installed PHP, MySQL and other systems, Then using this software will allow you to quickly build a complete bottom-level environment.

1. Download the Appserv installation package, follow the prompts step by step.

2. Select the installation directory, easy to manage; Select all the installation packages and go to the next step;

3. Configure the server Name, email, and port of the HTTP service in Apache, server Name is generally set to localhost or 127.0.0.1, the default port is: 80, if the 80 port already has other services, you need to modify the HTTP service port, such as 8080;

4. Configure the MySQL service username and password in the Appserv the default administrative account for the MySQL service database is root, the default character set is UTF-8, and you can modify the relevant character set encoding as needed, and general English UTF-8 are more generic. Chinese GBK is more commonly used, select Enable InnoDB, continue to click Finash to complete the installation.

5. Enter http://localhost in the browser address bar to test whether the installation was successful.

6. Test file Location: Locate the installation directory appserv/www/, test files can be placed in the directory, for example: index.php storage directory for appserv/www/php/index.php Access when the address bar input:/http localhost/php/index.php.

7. If you are viewing pages made on your PC on the mobile side, enter http://localhost/php/index.php in your phone browser or view your computer's IP address, such as 192.168.0.1/php/index.php. (provided that the mobile device must be linked to a PC in the same LAN)

Build PHP Environment locally

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.