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 重建它應該非常容易。

相關內容