Monday, November 11, 2024

[SOLVED] "Fatal error: Uncaught Error: Call to undefined function xdebug_info()"

 "Fatal error: Uncaught Error: Call to undefined function xdebug_info()"

This error could happen if xdebug.ini was not included (as configuration) properly.
In my case xdebug.ini was in "mods-available", but not in "conf.d" directory.

Try this:
ln -s /etc/php/7.4/mods-available/99-xdebug.ini /etc/php/7.4/apache2/conf.d/99-xdebug.ini

And then reload your apache/php-fpm service

No comments:

Post a Comment