Home > php教程 > php手册 > paip.php debug 调试---与OPTIMIZER共存

paip.php debug 调试---与OPTIMIZER共存

WBOY
Release: 2016-06-13 10:52:06
Original
935 people have browsed it

paip.php debug 调试---与OPTIMIZER共存

Author作者Attilax ,

注:1、解压ZendDebugger后,将目录中的4_3_x_comp、4_4_x_comp、5_2_x_comp等目录,分别改为 php-x.y.z格式的目录名。如:4_3_x_comp改为php-4.3.x。5_2_x_nts_comp属于非线程安全的,暂不用考虑。


如何判断PHP 是ts还是nts版的?_百度知道
1个回答 - 最新回答: 2012年4月21日
最佳答案: 通过phpinfo(); 查看其中的 Thread Safety 项,这个项目就是查看是否是线程安全,如果是:enabled,一般来说应该是ts版,否则是nts版。


 
D:\php-5.2.x\ZendDebugger.dll
//可以仿照zend_extension_manager.optimizer_ts的配置

---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。PHP    PHPINFO()
可以看到第一页

This program 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


并且下边有[ZEND DEBGGER]一节

Zend Debugger
Passive Mode Timeout  20 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
 
 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template