Skip to content

dephpugger requirements => Uncaught Error: Call to undefined function Dephpug\Console\concerns\xdebug_is_enabled() in /home/hal/.config/composer/vendor/tacnoman/dephpugger/src/Dephpug/Console/concerns/PhpInfo.php:66 #51

@HalMorris

Description

@HalMorris

The full output is:
✔️ Your PHP version is 7.0 or more
✔️ XDebug is installed.
✔️ Sockets extension is installed.
PHP Fatal error: Uncaught Error: Call to undefined function Dephpug\Console\concerns\xdebug_is_enabled() in /home/hal/.config/composer/vendor/tacnoman/dephpugger/src/Dephpug/Console/concerns/PhpInfo.php:66
Stack trace:
#0 /home/hal/.config/composer/vendor/tacnoman/dephpugger/src/Dephpug/Console/RequirementsCommand.php(36): Dephpug\Console\concerns\PhpInfo->xdebugIsActive()
#1 /home/hal/.config/composer/vendor/symfony/console/Command/Command.php(255): Dephpug\Console\RequirementsCommand->execute()
#2 /home/hal/.config/composer/vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#3 /home/hal/.config/composer/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#4 /home/hal/.config/composer/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#5 /home/hal/.config/composer/vendor/tacnoman/dephpugger/src/Dephpug/Dephpugger.php(33): Symfony\Component\Console\Application->run()
#6 /home/hal/.config/composer in /home/hal/.config/composer/vendor/tacnoman/dephpugger/src/Dephpug/Console/concerns/PhpInfo.php on line 66

This is on ubuntu v20.10 with newly installed apache2, php 7.4.9, and /etc/php/7.4/mods-available/xdebug.ini:
zend_extension=/usr/lib/php/20190902/xdebug.so
xdebug.log="/opt/lampp/xdb-logs/xdebug.log"
xdebug.log_level=7
xdebug.client_host=127.0.0.1
xdebug.client_port=9005
xdebug.debug_mode=develop,debug,trace
xdebug.start_with_request=trigger
xdebug.collect_params=3

and
/etc/php/7.4/apache2/conf.d/20-xdebug.ini -> /etc/php/7.4/mods-available/xdebug.ini
/etc/php/7.4/cli/conf.d/20-xdebug.ini -> /etc/php/7.4/mods-available/xdebug.ini

Thanks in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions