Xdebug安装,但不显示在Phpinfo为Xampp [英] Xdebug installed but does not display in Phpinfo for Xampp
问题描述
[Xdebug]
zend_extension =/ Applications / XAMPP / xamppfiles / lib / php / php-5.3.1 / extensions / no-debug-non-zts-20090626 / xdebug.so
xdebug.remote_port = 9000
xdebug.profiler_enable = 1
xdebug。 profiler_output_dir =/ Applications / XAMPP / xamppfiles / temp
xdebug.remote_handler =dbgp
xdebug.remote_host =localhost
xdebug.remote_enable = On
xdebug.trace_output_dir =/ Applications / XAMPP / xamppfiles / temp
Php -m显示Xdebug模块,但phpinfo ()不显示Xdebug。阅读解决方案的问题为什么xdebug没有显示在phpinfo()和没有xdebug在phpinfo(),它不适用于我。 注意:我已经从Xampp Control多次重新启动了Apache。
b
$ b
- 任何方法来纠正这个问题?
- Xdebug是否仍然可以在我的Eclipse Studio上工作?
- 我允许httpd访问Moutain Lion上的Xdebug?
谢谢。
所以这更是山狮的港口问题。默认情况下,9000由Mac分配用于防火墙的东西,并且它为一个或另一个事物分配不同的端口。我在Mac上使用网络实用程序端口扫描检查可用的端口。另外运行下面描述的php脚本可以提供一些调试信息,如这里
详细配置Eclipse部分从这个堆栈溢出问题帮助最多。
I have the latest Xampp and Php 5.3 on Mac Mountain Lion oSX 10.8.2. I just installed Xdebug and configured it in the php.ini. I downloaded from this link and followed the instructions. Also put the following entries in php.ini
[Xdebug]
zend_extension="/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so"
xdebug.remote_port = 9000
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = "/Applications/XAMPP/xamppfiles/temp"
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_enable = On
xdebug.trace_output_dir = "/Applications/XAMPP/xamppfiles/temp"
Php -m displays the Xdebug modules but the phpinfo() does not show Xdebug. Read the solutions to questions Why is xdebug not showing up in phpinfo() and No xdebug in phpinfo() and it does not work for me. Note: I have restarted my Apache from Xampp Control multiple times.
Suggestions on
- Any ways to rectify this?
- Would Xdebug still work for me on my Eclipse Studio?
- How can I provide permission to httpd to access Xdebug on Moutain Lion?
Thanks.
So this was more of a port issue on Mountain Lion. By default 9000 is assigned by Mac for firewall stuff and it kept assigning various ports for one or the other thing. I utilized Network Utility Port Scan on Mac to check for available ports. Also running the php script described below may give some debugging info as provided here
The detailed Configuring Eclipse part from this Stack Overflow Question helped the most.
这篇关于Xdebug安装,但不显示在Phpinfo为Xampp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!