Ubuntu Server 12.04

Here is a guide to uninstall, or disable Xdebug in Ubuntu. The solution is quite simple. We didn’t find any good guide on the internet so here is one for you guys.

1. Comment out Xdebug

Go to /etc/php5/conf.d/xdebug.ini and comment out Xdebug by doing this:

; zend_extension=/usr/lib/php5/20090626/xdebug.so
2. restart apache
:~$ service apache2 restart
3. now xdebug should be disabled. Well done!

 Re-enable Xdebug

To re-enable Xdebug again, just remove the ; in  /etc/php5/conf.d/xdebug.ini and restart Apache.

GO HERE TO ENABLE XDEBUG.

 

Pro tip

Install ownCloud and host your own private cloud. Download  the pre-configured ownCloud VM today!