sudo apt-get install php5-xdebug
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php5-xdebug: Depends: phpapi-20060613
E: Broken packages
tchalvak:~/sites/loltrading$ apt-cache show phpapi-20060613
有没有办法解决这个问题并在 ubuntu 上使用 php 5.3 运行 xdebug?
您从哪里获得自定义版本的 php,是您自己构建的吗?您可能还必须构建一个自定义的 php5-xdebug 包。如果您构建了自己的 php,那么获取 xdebug 的源代码包并针对您的自定义 php 重新构建它应该很容易。