centos 7 install phpmyadmin with remote access | How to Install phpMyAdmin on CentOS 7

Опубликовано: 07 Январь 2022
на канале: Prakash tech
1,380
8

centos 7 install phpmyadmin with remote access | How to Install phpMyAdmin on CentOS 7 | How To Install and Secure phpMyAdmin with Apache on a CentOS 7 Server | phpMyAdmin.conf and remote access on a centos 7 | centos 7 install phpmyadmin without gui.
Terminal Commands
Install Apache Web Server
yum install httpd
systemctl start httpd
systemctl enable httpd
Also add a firewall rule to allow httpd port 80 from outside. This is important if you need access phpMyAdmin from a remote location.
sudo systemctl status firewalld
firewall-cmd –permanent –add-service=http
firewall-cmd –permanent –add-service=https
firewall-cmd –reload

Install php
yum install php
systemctl restart httpd

Install PHPMYADMIN
yum install epel-release
yum install phpmyadmin
systemctl restart httpd

vi /etc/httpd/conf.d/phpMyAdmin.conf
*EDIT*
systemctl restart httpd