Home > Article > Backend Development > paip.php debug debugging --- coexisting with OPTIMIZER_PHP tutorial
paip.php debug debugging---coexist with OPTIMIZER
Author author Attilax,
Note: 1. After decompressing ZendDebugger, change the 4_3_x_comp, 4_4_x_comp, 5_2_x_comp and other directories in the directory to the directory names in the php-x.y.z format. For example: 4_3_x_comp is changed to php-4.3.x. 5_2_x_nts_comp is not thread-safe and does not need to be considered for now.
How to determine whether PHP is the ts or nts version? _Baidu knows
1 answer - Latest answer: April 21, 2012
Best answer: Use phpinfo(); to check the Thread Safety item. This item is to check whether it is thread safe. If it is: enabled, generally it should be the ts version, otherwise it should be the nts version.
D:php-5.2.xZendDebugger.dll
//You can imitate the configuration of zend_extension_manager.optimizer_ts
---php.iini----
[Zend]
zend_extension_manager.optimizer_ts=d:ShopExshopserverzendOptimizer
zend_extension_ts=d:ShopExshopserverzendZendExtensionManager.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 is successful
TEST. PHP PHPINFO()
You can see the first page
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
And there is a section [ZEND DEBGGER] below
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