Three minutes to quickly build an open source PHP program environment

Source: Internet
Author: User

For many webmasters, I believe that choosing open-source programs is a common practice. There are many advantages for choosing open-source programs, such as easy system expansion, low costs, and high flexibility. When many new webmasters are new to open-source programs, the first problem after downloading the code of open-source projects is how to trust the entire project to run. Many open-source projects at home and abroad, including open-source CMS, online shop systems, blog systems, and even SNS, are based on the Apache + MySQL + PHP runtime environment. Now I will introduce you to the fastest WAMP-based (Windows + Apache + MySQL + PHP) environment, so that webmasters who are new to open-source systems can run the downloaded open-source projects in a short time.

Quickly build an open-source PHP project runtime environment, mainly by using a software package-AppServ. This software is a PHP Web site shelving tool package. The author of Thailand repacks some free website shelving resources on the network into a single installer, this allows beginners to quickly complete the website, including Apache, PHP, MySQL, and phpMyAdmin. Let's talk a little bit about it. Next we will teach you how to quickly build the runtime environment of the PHP open-source project:

1. Open the downloaded appserv software, start installation, and enter the Installation Wizard, as shown in figure

  

 

2. Select the installation path, for example, C: \ Appserv \ (note that the website root directory set for this project is under C: \ Appserv \ www \ by default), as shown in figure

  

 

Select the installed components. The first three of them are the Apache + PHP + MySQL environment that we often call. These three are required, and the fourth one can be checked as needed, it is mainly a Web Version Software for visual management of MySQL databases.

  

 

Set the Server Name and port number. The Server Name indicates the Server Name. If the Server is local, enter localhost or 127.0.0.1. Enter either the Email address or the port number. Port 80 is used by default, you can also set it as needed.

  

 

Set the Database Password and database encoding. Here, the encoding of the database must be consistent with the version of the downloaded open-source project. When we download the code online, both indicate the UTF-8 or GBK version, otherwise the page may be garbled during deployment.

  

 

Wait until the installation is complete and start the service.

  

 

  

 

Note: If the two options are not selected, You need to manually start the Apache and MySQL services, for specific operations, go to the start menu to find the Control Service By Manual option and select start-Apache start and MySQL-MySQL stop for Apache.

To test whether the configuration is successful, open the local address: http: // localhost for testing, as shown in figure

  

 

The above configuration is complete. At this time, we copy the downloaded open source program code to C: \ Appserv \ www \ under the root directory indicated by Apache, and then open the page address, for example, if we want to install DedeCMS, we can open the address http: // localhost/on the webpage to install our open-source system.

  

 

This article consists of registered domain name http://www.72ym.com/

Related Article

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.