Well, it’s not perfectly a LAMP stack as MySQL and PHPMYadmin are not covered here. But for someone who needs a backward compatible php edition to work on a modern/latest os built. Step1: Add PHP repository We’ll use a bash script to add the repository- #!/bin/sh # To add this…
Tag: LAMP
Install Apache2, PHP 7.2 and MariaDB 10.5 on Debian 11
First, update all the packages of the system by below-mentioned command: sudo apt update After updating packages, now install the dependencies required by the below-mentioned command: sudo apt install software-properties-common ca-certificates lsb-release apt-transport-https Enable SURY Repository The following step is to integrate the SURY repository into our system. SURY is…
Install LAMP with PHP-FPM on Ubuntu 20
Step 1 – Installing Apache Apache web server debian packages are available under the default repositories. Login to your Ubuntu system with sudo privileges account. Open a terminal and execute the following commands: sudo apt update sudo apt install apache2 libapache2-mod-fcgid The above commands will install Apache and FastCGI module…
Install LAMP with PHP 7.4 on FastCGI/CGI configuration on CentOS 7
Step 1 – Setup Yum Repository In the first step install all the required yum repositories in your system used in the remaining tutorial for various installations. You are adding REMI, EPEL, Webtatic & MySQL community server repositories in your system. CentOS / RHEL 7 yum install epel-release rpm -Uvh…
Install PHP 7.4 / 7.3 / 7.2 / 7.1 on Debian 10 / Debian 9
Add PHP Repository SURY, a third-party repository which offers PHP 7.4 / 7.3 / 7.2 / 7.1 for Debian operating system. By default, Debian 10 ships PHP v7.3. So, you can either install PHP v7.3 from Debian repository or SURY repository. Skip this section if you want to install PHP…
Install LAMP on CentOS 7 with PHP 5.4/7.0/7.1/7.2/7.3/7.4
Preliminary Note In this tutorial, I use the hostname server1.example.com with the IP p 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate. I will add the EPEL repo here to install latest phpMyAdmin as follows: rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY* yum -y install epel-release To edit files on…
Install LAMP on Centos 7 with PHP 5.x/7.0/7.1/7.2
In this tutorial, I use the hostname server1.example.com with the IP p 192.168.1.100. These settings might differ for you, so you have to replace them where appropriate. I will add the EPEL repo here to install latest phpMyAdmin as follows: rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY* yum -y install epel-release To edit files…
LAMP on Ubuntu 16.04 using Tasksel
Quick Install Using Tasksel Instead of installing Apache, MySQL, and PHP separately, tasksel offers a convenient way to get a LAMP stack running quickly. Install tasksel if not already installed by default. sudo apt install tasksel Use tasksel to install the LAMP stack. sudo tasksel install lamp-server Enter the prompt…
Installing LAMP On Debian
First we install MySQL 5 like this: apt-get install mysql-server mysql-client You will be asked to provide a password for the MySQL root user – this password is valid for the user root@localhost as well as root@server1.example.com, so we don't have to specify a MySQL root password manually later on:…
LAMP on CentOS
Installing MySQL 5 To install MySQL, we do this: yum -y install mysql mysql-server Then we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server: chkconfig –levels 235 mysqld on /etc/init.d/mysqld start Set passwords for the MySQL root…