Q: How to install PHP7 on Ubuntu 16.04?

PHP7 Apache Ubuntu


To install PHP and Apache library required for PHP :

sudo apt-get install php7.0
sudo apt-get install libapache2-mod-php7.0

Now we have to restart Apache to load PHP. We can restart Apache by running the command:

sudo service apache2 restart

    No comments found for this tutorial, be the first to leave a comment!

Answered by

Last updated on
Aug 15, 2016