
我嘗試在 ubuntu 16.04 中安裝 vdebug。我正在運行 php5.6。當我做sudo apt-get install php5-xdebug
。錯誤是:
The following packages have unmet dependencies:
php5-xdebug : Depends: phpapi-20121212 but it is not installable
E: Unable to correct problems, you have held broken packages.
當我這樣做時sudo apt-get install php-xdebug
,它已安裝,但這是否意味著 php-xdebug 相當於 php7-xdebug,僅適用於 php 7。這是明確安裝 php5.6-xdebug 的方法嗎?