How to Install PHP 7 2 on Ubuntu 16 04


In this video, we demonstrate to you how to Install PHP 7 2 on Ubuntu 16 04

Commands used:
php -v
php –ini
sudo cp -a /etc/php/7.0 /etc/php/7.0.backup
php -m (right angle bracket) /tmp/7.0.modulelist.txt
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.2
ls /etc/apache2/mods-available/php*
/etc/apache2/mods-enabled/php*
sudo a2dismod php7.0
sudo a2enmod php7.2
apachectl -t
sudo service apache2 restart
sudo apt-get install php7.2 TAB TAB
php -m (right angle bracket) /tmp/7.2.modulelist.txt

diff /tmp/7.0.modules.txt /tmp7.2.moduleslist.txt
vimdiff /tmp/7.0.modules.txt /tmp7.2.moduleslist.txt
sudo apt-get install php7.2-mysql

The related article for this video can be found here: https://www.liquidweb.com/kb/install-php-7-2-ubuntu-16-04/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/

For more information on our Dedicated server specials visit us at: https://www.liquidweb.com/products/dedicated/

Video by: Alex Gorzen


Duration: 7:
Publisher: Liquid Web
You can watch this video also at the source.