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,你自己build立? 您可能还需要构build自定义的php5-xdebug包。 如果你build立了自己的php,那么获取xdebug的源代码包并且根据你的自定义php重新编译它应该很容易。