1. Install Zend studio 12
The installation process is relatively simple and will not be described briefly.
2. Modify the PHP.ini file
In the UPUPW folder directory, find the upupwPHP5php.ini configuration file, and search for the following keyword "xdebug" and modify it to the following content.
[Zend]
;zend_extension="E:upupwPHP5extphp_ioncube_loader.dll"
[Xdebug]
zend_extension="E:upupwPHP5extphp_xdebug.dll"
xdebug.collect_params=1
xdebug.collect_return=1
xdebug.auto_trace=0
xdebug.trace_output_dir="E:upupwxdebugtrace"
xdebug.profiler_output_dir="E:upupwxdebugprofiler"
xdebug.max_nesting_level=100
xdebug.remote_enable = on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
2. Start UPUPW
Double-click the startup panel and start all services (or at least enable WEB + database), the interface is as follows:
3. Configure the debug environment of Zend studio
1) Open the software, after completing the initialization, find Windows->Preferences->PHP-PHP Executable àadd add PHP 5.4
Complete adding PHP5.4 environment and path.
2) Add HTTP Server, find the Servers project under the PHP configuration column, and create a new Web server locally connected to UPUPW.
3) Find the debug option and adjust the PHP environment to PHP5.4,
3) After completion, click OK to save
4) Create a new local PHP project, file->New->Local PHP Project
5) Project testing, add the following code to the newly created project.
echo "Hello World";echo '';
$b = 20;
for($i=0;$i<5;$i++){
$b+=$i;
echo $b;
echo'';
}
echo $b;
phpinfo();
?>
The above introduces the "Zend studio 12 + UPUPW + PHP54 development platform configuration process", including the content of zend studio. I hope it will be helpful to friends who are interested in PHP tutorials.