I have installed xdebug from source in my system and add to my php.ini the following code at the end of the file:
[Xdebug] zend_extension=”/usr/lib/php/20151012/xdebug.so” xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000
I created a php file to see the state of the server:
<?php phpinfo(); ?>
After restart apache I have no information about xdebug running. I don't know what seems to be the error or what are missing.
/opt/lampp/bin $ phpenmod xdebug And it created me a xdebug.ini in /etc/php/7.0/mods-available with
Instead of compiling over source xdebug I downloaded the working builds from ActiveState (the makers of the Komodo IDE) provide their pre-compiled binaries of xdebug they use in their IDE.
Just go to their site:
The packages contain builds for all php versions.
I copied xdebug.so to /opt/lampp/lib/php/extensions and changed my php.ini with the entry
I changed also xdebug.ini with
I restarted lampp and nothing seems to work for now.
When I run phpinfo.php with apache restarted I have no information about xdebug.