Categories
Knowledge Base Server Administration

How to Update PHP Version in a LAMP Stack

This article covers: Update PHP in a Lamp Stack Switch PHP version Audiences of this article: Server Admin Install The Latest PHP (7.4 in this case) sudo apt-get install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install -y php7.4 Disable old PHP version 7.1 and Enable New version 7.4, then restart Apache and […]