selma@pc10:~$ sudo a2enmod php5.6 Considering dependency mpm_prefork for php5.6: Considering conflict mpm_event for mpm_prefork: Considering conflict mpm_worker for mpm_prefork: Module mpm_prefork already enabled Considering conflict php5 for php5.6: Enabling module php5.6. To activate the new configuration, you need to run: systemctl restart apache2 selma@pc10:~$ sudo systemctl restart apache2 selma@pc10:~$