"Zend Studio + upupw+php5.4 development platform configuration process"

Source: Internet
Author: User

?

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"

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.