xdebug 是否与 php 5.3 的自定义安装兼容?

xdebug 是否与 php 5.3 的自定义安装兼容?
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?

答案1

您从哪里获得自定义版本的 php?您自己构建的吗?您可能还需要构建自定义的 php5-xdebug 包。如果您构建了自己的 php,那么获取 xdebug 的源包并根据您的自定义 php 重建它应该相当容易。

相关内容