Configuration Installation of Zend debugger

Source: Internet
Author: User
Tags apache php zend

Used to use Zend debugger, but at that time was a colleague to help me configure the environment. Due to the new environment, and changed the XAMPP, formerly used WDP. Because you want to develop and modify a Drupal module, you want to build a test environment, run a run.

Perhaps the impression is still some, although they are not very able to PHP, especially some of the configuration of things, but still will use Baidu, Google. First Google Zend Debug, find the debugger to use for Zend debugger, just started not even remember the name. Then we found two installation guides. Follow the instructions to download the latest debugger to Http://downloads.zend.com/pdt/server-debugger first. I downloaded the zenddebugger-5.2.14-cygwin_nt-i386.zip. Unzip it. Get a directory:

<DIR> 4_3_x_comp
<DIR> 4_4_x_comp
<DIR> 5_0_x_comp
<DIR> 5_1_x_comp
<DIR> 5_2_x_comp
<DIR> 5_2_x_nts_comp
321 dummy.php
6,934 Inventory.xml
376 MD5
832 README.txt

Here I use the ZendDebugger.dll in the 5_2_x_comp.

The following is a detailed procedure.
1, please copy the ZendDebugger.dll to your PHP installation directory, such as: f:/xampp/php.
2, then add the following 4 lines of content to your php.ini:
[Zend]
Zend_extension_ts=f:/xampp/php/zenddebugger.dll
zend_debugger.allow_hosts=127.0.0.1
Zend_debugger.expose_remotely=always
Wherein, 127.0.0.1 is the IP of the machine where the file is remotely debugged; I am the local Web debugging
3, copy the dummy.php to the Apache document root directory.
4, restart Apache.
Open Browser run: http://127.0.0.1/phpinfo.php,

I did it, but no, I never built it, I didn't know the exact reason. and turned over several articles, the results are the same article reproduced. Google is good, but it can't solve my problem. Decided to Baidu, soon found a strong wen, because the other is also used XAMPP, Inside said in the XAMPP environment php.ini file refers to the f:/xampp/apache/bin below Apache PHP.ini, rely on, I have been in the change is f:/ Xampp/php under the php.ini and Php5.ini, I said how not ah. According to the said modification F:/xampp/apache/bin below php.ini on it. Since I installed the XAMPP version relatively new, with Zendextensionmanager,zendoptimizer, you need to

; zend_extension_ts = "F:/xampp/php/zendoptimizer/lib/zendextensionmanager.dll"

; zend_extension_manager.optimizer_ts = "F:/xampp/php/zendoptimizer/lib/optimizer"

; zend_optimizer.enable_loader = 0

; zend_optimizer.optimization_level=15

Note out, the original is not. I think should be able to coexist, but here zend_extension_ts this repeat, not to take off the following Apache. I have tried this.

Summary, xampp below, build Zend debugger need to pay attention to two points:

1, the php.ini file refers to the F:/xampp/apache/bin, Apache/bin below.

2, need to comment out the Zendextensionmanager; Zend_extension_ts and so on.

But the 2nd may be a better solution. I used the environment for XAMPP, where PHP is 5.2.6, OS Vista, Debugging Tools Zend Debugger.

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.