Home > Article > Backend Development > [WeChat public platform development] PHP development environment setup (1)_PHP tutorial
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"; ?-->
5. Now the WeChat public platform development environment has been set up, and everyone can enter WeChat development!