Home > Backend Development > PHP Tutorial > [WeChat public platform development] PHP development environment setup (1)_PHP tutorial

[WeChat public platform development] PHP development environment setup (1)_PHP tutorial

WBOY
Release: 2016-07-13 10:37:14
Original
952 people have browsed it

By understanding AppServ, it is more suitable for novices to quickly build a web server environment and develop PHP! Then start with AppServ!

AppServ is a PHP web page website building tool package. The author repackages some free website building resources on the Internet into a single installation program to facilitate beginners to quickly complete the website building. The software included in AppServ is: Apache, Apache Monitor, PHP, MySQL, phpMyAdmin, etc.

So the first step is to download the latest version from the AppServ official website: AppServ: Click to open the link

1. Prepare AppServ and start installation

a. Select the installation path, choose whatever you want

b. Select the installation component and check all four

c. Fill in the address of the Http server, usually 127.0.0.1, fill in any email address, and do not need to change the port 80

d. Configure mysql, fill in any password you remember, and remember to check Enable InnoDB

e. Wait for the installation to complete and check to start Apache and MySQL

2. Verify whether the installation is successful

a. Enter http://127.0.0.1/index.php in the browser. If a page pops up instead of an error message, it means the installation is successful

3. Install the PHP programming environment. According to the online introduction, download ZendStudio. You can download the latest version from the official website

Download address: http://www.zend.com/en/products/studio/

If you want to learn, you can search the Internet for cracking methods, there are many! Of course you can try it out first!

For commercial development, it is recommended to buy the genuine version!

After downloading, just click Next to install!

4. After completion, write a piece of code to test

Create a new project in a.File

b. Write a project name, and set the storage path to the www directory under the appserv installation

c. Click Finish and write the following code in index.php:

<!--?php

echo "Hello PHP world";

?-->
Copy after login

d. Enter: http://localhost/test3/ in the browser address bar, the result is as follows:

5. Now the WeChat public platform development environment has been set up, and everyone can enter WeChat development!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/735906.htmlTechArticleBy understanding AppServ, it is more suitable for novices to quickly build a web server environment and develop PHP! Then start with AppServ! AppServ is a PHP web page hosting tool package. The author combines some network...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template