?
First, install Zend Studio 12
The installation process is relatively simple and is not outlined.
?
Ii. Modification of php.ini file
???? Under the UPUPW folder directory, locate the \upupw\php5\php.ini configuration file and find the following keyword "xdebug" through the search and modify it to the following content.
?
[Zend]
; zend_extension= "E:\upupw\PHP5\ext\php_ioncube_loader.dll"
?
[Xdebug]
zend_extension= "E:\upupw\PHP5\ext\php_xdebug.dll"
Xdebug.collect_params=1
Xdebug.collect_return=1
Xdebug.auto_trace=0
Xdebug.trace_output_dir= "E:\upupw\xdebug\trace"
Xdebug.profiler_output_dir= "E:\upupw\xdebug\profiler"
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
?
Second, start UPUPW
???? Double-click the Startup panel and start all services (or at least enable the web+ database) with the following interface:
?
Iii. Configuring the Debug environment for Zend Studio
1) Open the software, complete the initialization, find windows->preferences->php-php executable àadd PHP 5.4
?
?
Complete the PHP5.4 environment and path additions.
2) Add the HTTP server, locate it under the PHP configuration bar, servers The project, and create a new Web server locally connected to the UPUPW.
?
?
?
3) Find the debug option and adjust the PHP environment to PHP5.4,
?
?
?
3) When finished, click OK to save
?
?
4) New local PHP project, file->new->local PHP projects
?
?
?
5) Project test, add the following code to the new project.
<?php
Echo "Hello World"; Echo ' </br> ';
?
$b = 20;
for ($i =0; $i <5; $i + +) {
$b + = $i;
Echo $b;
Echo ' </br> ';
?
}
Echo $b;
?
Phpinfo ();
?
?>
?
?
?
"Zend Studio + upupw+php5.4 development platform configuration process"