我已经在通过xdebug和php进行了多次配置,但回到我的旧笔记中,未能帮助我重新配置它。Xdebug和PHP不能在我的服务器上工作
我也做了以下内容:
- 安装
LAMP
- 安装
php5-xdebug
- 重新启动的阿帕奇
sudo /etc/init.d/apache2 restart
- 的
/etc/php5/apache2/conf.d/xdebug.ini
现在看起来是这样的:
xdebug.ini
zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so
xdebug.remote_enable=On
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
我创建一个PHP文件,该文件只包含phpinfo();
当我加载页面在浏览器,我没有得到一个Xdebug的部分正常包含了像
xdebug.collect
xdebug.dump
xdebug.profiler
所有Xdebug的细节
等等
这次我没有错?
The OS is Ubuntu 12.04
PHP version is 5.3.10
Apache version is 2.2.22
Xdebug version is 2.1.0-1
你尝试格式正确xdebug.ini和检查,如果它被包含在
到xdebug.so整体配置? – Stormherz 2013-03-05 19:54:37
正常文本编辑器中的文本看起来没问题。 – oshirowanen 2013-03-05 19:56:12
为什么'zend_extension =/usr/lib/php5/20090626 + lfs/xdebug.so'?我有'/ usr/lib/php5/20090626/xdebug.so'(注意+ lfs)(我有相同的操作系统) – hek2mgl 2013-03-05 19:57:16