Introduction to PHP-Environment build ____php

Source: Internet
Author: User
Tags php editor

This article describes how to build a PHP development and running environment in Windows systems:

1, download the PHP Development Kit Appserv:http://dlsw.baidu.com/sw-search-sp/soft/c5/15668/appserv_8.0.0.1454401891.exe

2. Download PHP editor Phpstorm:https://download.jetbrains.8686c.com/webide/phpstorm-2017.3.exe

3, free Learning Video: http://study.163.com/course/courseMain.htm?courseId=246003

First, download and install Appserv

1, the use of Appserv is because it integrates the PHP development process used in the basic tools, such as databases. During the installation of this program, the MySQL option is checked to install MySQL together. The following is a description of the program's considerations during the installation process.

2, the installation process is relatively simple, fool-type installation, attention in the installation process, check as shown:


3, when setting up HTTP server, port number If set 80 is the browser default port, you can omit the port when browser access:


4, set up can run the program, open the browser, in the address bar input http://localhost or http://127.0.0.1, (if the port is set is not 80, then you need to add the port number after the address), the effect as shown:


5, the software's working space is: the Software installation directory of the WWW files such as my: E:\software\AppServ\www, browser input http://localhost default access is this directory, our future PHP project files should be put to this path.

6, below we in this path, write the first PHP file. First in the path to create a TXT file, and the file suffix to: first.php, the contents of the inside write (note here are all English symbols):

<?php
	echo "My I-php";
7, in the browser input: http://localhost/first.php can see the following figure:


Second, download and install Phpstorm

1. The reason for using phpstorm is that this is one of the most convenient editing tools for PHP development, it has a good hint function, and it can be well displayed for general errors.

2, the installation of the software is also relatively simple, mainly the software activation process, please see this tutorial: http://www.jianshu.com/p/f4cf6ac951a0

3, because the PHP file must be in the Appserv directory in the WWW file to run, in order to avoid every time to copy the past, the following describes the Phpstorm new PHP project method:

4, file---->new Project, as shown in figure:


5, in the pop-up box, as shown in the picture:


6, the figure of the location: the path of the project, I was in order to manage the unified php file, the WWW folder inside a new PHP folder, and then put the new project in the Inside,

The default project name is untitled, please modify this name, the other configuration will then use the configuration can be, click to create on it.

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.