I'm trying to install xdebug in my recently upgraded Ubuntu 20.04.1
When I place the output of phpinfo() in https://xdebug.org/wizard I get:
Installation Wizard
Summary
Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: no
Zend Server: no
PHP Version: 7.2.34
Zend API nr: 320170718
PHP API nr: 20170718
Debug Build: no
Thread Safe Build: no
OPcache Loaded: no
Configuration File Path: /opt/lampp/etc
Configuration File: /opt/lampp/etc/php.ini
Extensions directory: /opt/lampp/lib/php/extensions/no-debug-non-zts-20170718
The installation recommends me to install the version: xdebug-3.0.1 But when I follow the instructions I get this error from the terminal:
The following packages have unmet dependencies:
php-dev : Depends: php7.4-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
How can I solve this problem? Should I install an older package of xdebug to be compatible with my php7.2 version?
Thanks in advance.