Home >Backend Development >PHP Tutorial >Xdebug与zend Optimizer并存问题

Xdebug与zend Optimizer并存问题

WBOY
WBOYOriginal
2016-06-23 14:14:53785browse

在apach中zend Optimizer与Xdebug都是通过zend_extension_ts加载动态库的;
那么如果同时使用zend Optimizer与Xdebug的时候就会报错;
那么想办法把php_xdebug-2.1.2-5.2-vc6.dll拷贝到EXT中,用如下方法解决,但是还是未正常加载XDEBUG;
所以想请问各位大神如何解决!!十分感谢!!

extension=php_xdebug-2.1.2-5.2-vc6.dll[Xdebug]xdebug.auto_trace=onxdebug.collect_params=onxdebug.collect_return=onxdebug.trace_output_dir="c:\Temp\xdebug"xdebug.profiler_enable=onxdebug.profiler_output_dir="c:\Temp\xdebug"xdebug.remote_host=127.0.0.1xdebug.remote_port=9000; Port number must match debugger port number in NetBeans IDE Tools > Options > PHPxdebug.remote_handler=dbgp[Zend]zend_extension_manager.optimizer_ts="E:\wamp\bin\php\php5.2.9-2\Optimizer-3.3.3"zend_extension_ts="E:\wamp\bin\php\php5.2.9-2\ZendExtensionManager.dll"


回复讨论(解决方案)

建议你看看这篇文章
Xdebug 2.1.2 与 Zend Debugger、Zend Optimizer 共存 

建议你看看这篇文章
Xdebug 2.1.2 与 Zend Debugger、Zend Optimizer 共存 
这个方法我测试过,在apach中貌似不生效,感谢你分享!

Statement:
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