Search

Develop LAMP (Linux + Apache + MySQL + PHP) environment below CentOS 8. 1

LEMP is an acronym for Linux, Nginx (pronounced Engine X), MariaDB / MySQL, and PHP. Centos 8. one

How you can Configure IP Address In Ubuntu 18. 04 LTS

Dark Light

LAMP is an acronym for Linux, Apache, MySQL, and PHP, and it is a popular free and open resource stack used by webmasters and developers to test and host dynamic internet sites.
The LAMP server comes with 4 core components: Apache web server, MySQL or MariaDB database, and PHP (a popular scripting language for creating dynamic web pages).
Common LAMP architecture system! LAMP is the most popular combination on earth, of course , there is also Nginx, which is LNMP: LAMP is more secure than NGINX,
but Nginx much more powerful than Apache in dealing with high concurrency. In this article, you will learn Install LAMP server on CentOS almost eight Linux distribution.

Step 1 : Update CentOS eight software package
It is recommended that it is generally a good practice to update deals before starting the installation. So sign in to your server and run the next command.

dnf update

dnf install httpd httpd-tools

systemctl enable httpd

systemctl start httpd

systemctl standing httpd

httpd -v

rpm -qi httpd

centos8 along with mariaDB

dnf install mariadb-server mariadb -y

systemctl start mariadb

systemctl enable mariadb

mysql_secure_installation

dnf install https://dl.Fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm

dnf module list php

dnf module totally reset php

dnf module enable php: remi-7. 4

dnf install php php-opcache php-gd php-curl php-mysqlnd

dnf install php php-opcache php-gd php-curl php-mysqlnd

php -v

systemctl start php-fpm
systemctl enable php-fpm
systemctl status php-fpm

setsebool -P httpd_execmem 1

systemctl restart httpd

Leave a Reply

Your email address will not be published. Required fields are marked *