paip.php Debug Debug---Coexistence with optimizer _php tutorial

Source: Internet
Author: User
Tags php debug
paip.php Debug Debug---coexistence with optimizer

Author author Attilax,

Note: 1, after decompression Zenddebugger, the directory of 4_3_x_comp, 4_4_x_comp, 5_2_x_comp and other directories, respectively, changed to the php-x.y.z format directory name. such as: 4_3_x_comp changed to php-4.3.x. 5_2_x_nts_comp is non-thread safe and is not considered.


How can I tell if PHP is a TS or NTS version? _ Baidu Know
1 Answers-Latest reply: April 21, 2012
Best answer: Through Phpinfo (); Look at the thread Safety item in it, this project is to see if it is thread safe, if yes: enabled, generally it should be TS version, otherwise it is version nts.



D:\php-5.2.x\ZendDebugger.dll
Can be modeled after the ZEND_EXTENSION_MANAGER.OPTIMIZER_TS configuration

---php.iini----
[Zend]
Zend_extension_manager.optimizer_ts=d:\shopex\shop\server\zend\optimizer
Zend_extension_ts=d:\shopex\shop\server\zend\zendextensionmanager.dll

[Zend Debugger]
zend_extension_manager.debug_server_ts= "D:"
Zend_debugger.expose_remotely=allowed_hosts
zend_debugger.allow_hosts=127.0.0.1,192.168.1.100

---Test whether the installation was successful
TEST. PHP PHPINFO ()
Can see the first page

Makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
With Zend Extension Manager v1.0.11, Copyright (c) 2003-2006, by Zend Technologies
With Zend Optimizer v3.2.0, Copyright (c) 1998-2006, by Zend Technologies
With Zend Debugger v5.2.15, Copyright (c) 1999-2008, by Zend Technologies


And there's [ZEND Debgger] section below

Zend Debugger
Passive Mode Timeout seconds

Directive Local Value Master value
Zend_debugger.allow_hosts 127.0.0.1,192.168.1.100 127.0.0.1,192.168.1.100
Zend_debugger.allow_tunnel No value No value
Zend_debugger.deny_hosts No value No value
zend_debugger.expose_remotely allowed_hosts allowed_hosts
Zend_debugger.httpd_uid-1-1
Zend_debugger.max_msg_size 2097152 2097152
Zend_debugger.tunnel_max_port 65535 65535
Zend_debugger.tunnel_min_port 1024 1024

http://www.bkjia.com/PHPjc/477978.html www.bkjia.com true http://www.bkjia.com/PHPjc/477978.html techarticle paip.php Debug Debugging---and optimizer coexistence author author Attilax, note: 1, after extracting Zenddebugger, the directory of 4_3_x_comp, 4_4_x_comp, 5_2_x_comp and other directories , respectively, to PHP ...

  • 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.