To install and configure phpMyAdmin on CentOS or RHEL, follow these steps:
- Install
phpMyAdminusing the following command:
yum install phpMyAdmin
- Create a symbolic link to the
phpMyAdminconfiguration file in the Apache configuration directory:
ln -s /etc/phpMyAdmin/config.inc.php /usr/share/phpMyAdmin/
- Edit the
config.inc.phpfile to configure thephpMyAdminconnection to your MySQL database server. You can find the configuration options in the file’s comments. - Restart the Apache web server to make the changes take effect:
systemctl restart httpd
- Open your web browser and navigate to
http://your-server-ip/phpmyadminto access the