Install PHP 7.0 Ubuntu 16.04
Hi! The Tutorial shows you Step-by-Step How to Install PHP 7.0 on Ubuntu 16.04 Xenial GNU/Linux.
And to get the PHP 7.0 Ubuntu 16.04 Installation, you have to Manually Setup the Ubuntu Apt PPA Repository.
Finally, this PHP 7.0 PPA includes also All the most Useful Extensions for PHP usage.
-
1. Launching Terminal
Open a Terminal window
Ctrl+Alt+t on Desktop
(Press “Enter” to Execute Commands) -
2. Enabling PPA Repo
Add PHP PPA for Ubuntu GNU/Linux
-
3. Installing PHP 7.0
Then to Install PHP 7.0 on Ubuntu.
sudo apt install php7.0
-
4. Setting PHP Version
(Optional) And to Set PHP 7.0 as Default.
sudo update-alternatives --config php
And then Choose the Right PHP release ID.
-
5. Searching PHP 7.0 Extensions
Again to Search PHP 7.0 Extensions.
grep php- /var/lib/apt/lists/ppa.launchpad.net_ondrej_php*Packages
-
6. Installing LAMP PHP 7.0 on Ubuntu
How to Install LAMP PHP 7.0 on Ubuntu GNU/Linux
So Now I’m truly Happy if My Guide could Help you to Install PHP 7.0 on Ubuntu 16.04!