NuSphere 远程调试器 dbg-php-5.3.so 表示未安装
刚刚接触php。尝试让 NuSphere 远程调试工作。我来自 VS 背景,所以我喜欢 NuSphere 是 c 编译的,而不是 java 编译的。
好的,如果您使用 NuSphere 也许可以帮助我。我已将 dbg-php.5.3.so 文件转储到我的扩展目录中。我修改了我的 php.ini 文件:
zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20090626/dbg-php-5.3.so"
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
找到了该文件..除非我重新启动网络服务器并运行 phpinfo(从 WHM/Cpanel 服务器上的我的用户帐户),该模块不会显示为正在加载?
我正在使用试用版..不确定这是否重要。
just getting into php. Trying to get NuSphere remote debugging working. I am coming from VS background so i like that NuSphere is c compiled and not java.
Ok so if you use NuSphere maybe you can help me. I've dumped the dbg-php.5.3.so file in my extensions directory. I've modified my php.ini file:
zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20090626/dbg-php-5.3.so"
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
the file is found.. except when i restart the webserver and run phpinfo (from my user account on a WHM/Cpanel server) the module does not show as being loaded??
I am using the trial version.. not sure if that matters.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这就是我所做的:
这将为您提供需要编辑的 php.ini 文件的路径,在此系统上它恰好是 /usr/local/lib/php.ini (使用 WHM/cPanel 运行 CentOS 6 x86_64)。
编辑 /usr/local/lib/php.ini 并搜索“extension_dir”,这将为您提供放置 dbg-php-5.3.so 的路径,在此系统上它恰好是 /usr/local/lib/php /extensions/no-debug-non-zts-20090626。在那里添加 .so 文件,然后继续使用调试器选项修改 php.ini 文件。
要测试正在加载的调试器,我重新启动httpd“service httpd restart”,然后“php -v”以验证正确加载的扩展。
我希望这有帮助!
This is what I did:
This will give you the path to the php.ini file you need to edit, on this system it happens to be /usr/local/lib/php.ini (Running CentOS 6 x86_64 with WHM/cPanel).
Edit /usr/local/lib/php.ini and search "extension_dir" which will give you the path to place dbg-php-5.3.so, on this system it happens to be /usr/local/lib/php/extensions/no-debug-non-zts-20090626. Add the .so file there and continue to modify your php.ini file with the debugger options.
To test the the debugger is being loaded I restart httpd "service httpd restart" and then "php -v" to verify the extension loaded properly.
I hope this helps!