Zend studio 12 + UPUPW + PHP5.4 development platform configuration process, upupwzendguard

Source: Internet
Author: User

Zend studio 12 + UPUPW + PHP5.4 development platform configuration process, upupwzendguard

 

1. Install Zend studio 12

The installation process is simple.

 

2. Modify the PHP. ini file

In the UPUPW folder directory, find the \ upupw \ PHP5 \ php. ini configuration file, search for the following keyword "xdebug", 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

 

Ii. Start UPUPW

Double-click the launch 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 initialization, find Windows-> Preferences-> PHP-PHP Executable à add PHP 5.4

 

 

Add the PHP5.4 environment and path.

2) add an HTTP Server. In the PHP configuration bar, locate the Servers project and create a Web Server that is locally connected to the upw.

 

 

 

3) locate the debug option and change the PHP environment to PHP5.4,

 

 

 

3) Click OK to save

 

 

4) create a Local PHP Project, file-> New-> Local PHP Project

 

 

 

5) Test the project. 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 ();

 

?>

 

 

 

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.