Unable to install xdebug - undefined symbol: zend_post_startup_cb
I was able to install it by executing
sudo apt-get install php-xdebug. I wonder why it does not work if I try to install it manually by going the official way and installing it via source...??
However, I get "Waiting for Connection" in NetBeans and nothing happens, but this is another problem...
In my case, i just put this xdebug config the wrong file:
[xdebug] zend_extension="/usr/lib/php/20190902/xdebug.so" xdebug.remote_enable=1 xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000
which is /etc/php/7.2/cli/php.ini , instead, it should be /etc/php/7.2/apache2/php.ini