Because small make up oneself want to rent a domain name space, helpless poor force small cock silk, can only use PHP server (cheaper).
obstinately in the spare time to learn PHP after work.
At first, it was manually configured, and it felt pretty much the same. The development environment is integrated directly with the XAMPP toolkit.
XAMPP is actually the Apache, PHP, MySQL These integration together, can be installed. Of course, friends who like to use the command can also add environment variables, in the cmd command inside the execution.
such as the
E:\apache;e:\apache\bin;
This environment variable is added to the path variable.
You can then execute it in cmd
Httpd-k start
Httpd-k restart
Httpd-k stop
command to start, restart, stop the server from running
Then go to the point, just beginning to learn a technology when always need to establish a bit of learning enthusiasm, so small do not recommend with me as the introduction of the person to configure too many things, first the environment well, the configuration after the study, lest the enthusiasm of learning to break up.
1. Download XAMPP
Address: https://www.apachefriends.org/zh_cn/index.html
Automatic fool-type installation, there should be no need to say anything.
2. Download EPP
EPP is the eclipse PHP, and ADT, PDT, the same thing, the custom version (integrated with the PHPEclipse plug-in Eclipse development environment).
Address is: http://epp.php100.com/
People who have used eclipse development should be more familiar with the interface.
3. Configure the debugging environment
A, first find the php.ini file (Xampp Control Panel in the Apache Config button can be seen, or under the installation directory to find the PHP directory can be seen)
Put
= "F:\xampp\php\ext\php_xdebug.dll"xdebug. profiler_append = 1xdebug. profiler_enable = 1xdebug . Profiler_enable_trigger = 1xdebug. Profiler_output_dir = "F:\xampp\tmp"xdebug. Profiler_ Output_name = "cachegrind.out.%t-%s"xdebug. remote_enable = 1xdebug. Remote_handler = "DBGP" Xdebug. Remote_host = "127.0.0.1"xdebug. Trace_output_dir = "F:\xampp\tmp"
The preceding note, the semicolon (;), is removed. This is already removed from the small series. and changed all the parameters to 0 of the place to 1.
b, open the EPP configuration for debugging
Small series more lazy, this step is skipped.
The video can look a little bit, but some of the details are to try it yourself, because the current small series can not be fully normal use of debugging functions, only to ensure that the server is running properly after compilation.
Video sharing Address: Http://pan.baidu.com/s/1qWz5Iyw