问题描述
我正在Ubuntu 9.10上运行XAMPP 1.7.3a.使用Netbeans 6.7.1作为编辑器,我希望能够调试我的PHP站点.
I'm running XAMPP 1.7.3a on Ubuntu 9.10. With Netbeans 6.7.1 as my editor, I want to be able to debug my PHP sites.
为此,我查看了Xdebug并开始按照安装说明进行操作,位于此处: http://xdebug .org/docs/install .
To do this, I looked up Xdebug and started following the installation instructions, found here: http://xdebug.org/docs/install.
尝试编译.tgz文件,遇到问题.
Trying to compile the .tgz file, run in to a problem.
步骤3)我可以执行该命令,但是它有什么用?我没有得到输出或该怎么做.
Step 3) I can execute that, but what use does it have? I don't get the output or what I should do with it.
步骤4)我执行以下命令:
Step 4) I execute the following command:
./configure --enable-xdebug --with-php-config=/opt/lampp/etc/
在输出的底部,它说:配置:
At the bottom of the output, it says: configure:
我已经检查了输入的位置,那里是php.ini文件,所有其他配置文件也是如此.
I've checked the location I entered, the php.ini file is there and so are all other config files.
所以,我不确定现在该怎么办.我应该忽略并只执行"make"命令,还是需要做其他事情?
So, I'm not sure what to do now. Should I ignore and just do the 'make' command, or does something else yet need to be done?
推荐答案
您必须将路径传递给php配置二进制文件-应该类似于
you have to pass the path to the php config binary - should be something like
/opt/lampp/bin/php-config
这篇关于使用XAMPP在Ubuntu上安装Xdebug for PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!