Search form

Main Menu

xdebug

After upgrading to Ubuntu 16.04, it didn't take me long to realise that PHP7 wasn't using any of the customisations I had in place for PHP5.6.

Since the location of php.ini has changed from /etc/php5/apache2/php.ini to /etc/php/7.0/apache2/php.ini, it was pretty straightforward to port my changes, but how was I supposed to get my extensions like xdebug back? The internet wasn't very helpful, until, in frustration, I stumbled on a simple apt-get command: