I try to install vdebug in ubuntu 16.04. I am running php5.6. When I do sudo apt-get install php5-xdebug. Error is:

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.

When I do sudo apt-get install php-xdebug, it is installed, but does it mean php-xdebug is equivalent for php7-xdebug, php 7 only. Is it a way to install php5.6-xdebug explicitly.

  • askubuntu.com/questions/856996/… It looks like the same problem with solution – Federico Galli Jun 19 '17 at 12:28
  • I followed it. When I press F5 in vim, it seems vdebug is not working. Is it a way to know that apt-get install php5.6 php-xdebug, that php means php5.6? – kenpeter Jun 19 '17 at 12:52
  • They were using an old version with php 5.5 support. Have you checked also the ppa option ? – Federico Galli Jun 19 '17 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.