Install LAMP- Apache, PHP 7.4 with Apache Handler on Debian 12 Rumi, June 7, 2024June 7, 2024 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… Continue Reading
Install Apache2, PHP 7.2 and MariaDB 10.5 on Debian 11 Rumi, February 18, 2023 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… Continue Reading
Install LAMP with PHP-FPM on Ubuntu 20 Rumi, April 4, 2021 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… Continue Reading
Install LAMP with PHP 7.4 on FastCGI/CGI configuration on CentOS 7 Rumi, March 24, 2021 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… Continue Reading
Install PHP 7.4 / 7.3 / 7.2 / 7.1 on Debian 10 / Debian 9 Rumi, October 26, 2020October 26, 2020 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… Continue Reading
Install LAMP on CentOS 7 with PHP 5.4/7.0/7.1/7.2/7.3/7.4 Rumi, October 26, 2020 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… Continue Reading
Install LAMP on Centos 7 with PHP 5.x/7.0/7.1/7.2 Rumi, March 10, 2019 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… Continue Reading
LAMP on Ubuntu 16.04 using Tasksel Rumi, May 12, 2018 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… Continue Reading
Installing LAMP On Debian Rumi, June 6, 2014June 6, 2014 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:… Continue Reading
LAMP on CentOS Rumi, June 6, 2014September 8, 2016 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… Continue Reading