Installing
-
2. Enabling PPA Repo
Add PHP PPA for Ubuntu GNU/Linux
-
3. Installing LAMP
Then to Install Complete LAMP Stack
To Search for the available PHP7 releases and Modules use:sudo apt search php7
So currently to install the latest Release play:
sudo apt install apache2 mysql-server php7.4 php7.4-mysql libapache2-mod-php7.4
If Got “User is Not in Sudoers file” then see: How to Enable sudo
How to Enable Apache2 mod_rewrite Module on Ubuntu.
Contents