Then you can check PHP versions available in apt, Then install following packages to install PHP newest PHP versions using PPA, Install the newest version of PHP on your Linux machine Then please follow the exact steps.First, 1. Please check you have installed LAMP stack correctly, follow a tutorial like this, Seems you have already installed the newest version of PHP, then jump into the 2nd part of this answer. N: Unable to locate package libapache2-mod-php7 Package manager info: $ apt-cache policy apache2 mysql-server php7-mysql php7 libapache2-mod-php7 php7-mcrypt phpmyadminġ00 trusty-backports/main amd64 Packages sudo apt-get install apache2 mysql-server php7-mysql php7 libapache2-mod-php7 php7-mcrypt phpmyadmin I was referring the following steps to install this originally. With Zend OPcache v7.2.1-1+ubuntu14.04.1++1, Copyright (c) 1999-2017, by Zend Technologiesīut I am running the file from opt/lampp/htdocs and there I am getting the php version as 5.6.3 which needs to be upgraded to 7.2. Zend Engine v3.2.0, Copyright (c) 1998-2017 Zend Technologies Actually, when I am checking php -v in terminal, it's showing the following result: PHP 7.2.1-1+ubuntu14.04.1++1 (cli) (built: 22:52:58) ( NTS ) I need to upgrade the php version to 7.2 in my Lampp.
0 Comments
Leave a Reply. |