Answer the question
In order to leave comments, you need to log in
How to demolish PHP Version 7.2.24-0 and install 7.3 in order to install laravel 7 on ubuntu?
How to demolish PHP Version 7.2.24-0 and install 7.3 in order to install laravel 7 on ubuntu?
Answer the question
In order to leave comments, you need to log in
Apt-get purge php7.2*
Apt-get install php7.3-fpm and other php packages
I didn't remove the default PHP7.4.3 in 20.04 , but just added the PHP repository and just updated and upgraded the system and got the latest version of PHP7.4.6 .
cd /etc/apt/sources.list.d; echo 'deb http://ppa.launchpad.net/ondrej/php/ubuntu $(lsb_release -cs) main' | sudo tee php.list > /dev/null; sudo apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com:443 4F4EA0AAE5267A6C; cd; sleep 10; sudo apt update; sudo apt full-upgrade
And that's it...
By the way, I did it because the php7.4-json module from PHP7.4.3 is not working.
And from PHP7.4.6 it works.
On 18.04 php7.2-json also works fine...
Ondřej Surý and his PPA
will help you.
And set yourself at least 7.3, at least 7.4, at least at the same time 7.2, 7.3 and 7.4 according to your needs and direct what you need to the right socket as much as you want.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question