To install and configure phpMyAdmin
on CentOS or RHEL, follow these steps:
- Install
phpMyAdmin
using the following command:
yum install phpMyAdmin
- Create a symbolic link to the
phpMyAdmin
configuration file in the Apache configuration directory:
ln -s /etc/phpMyAdmin/config.inc.php /usr/share/phpMyAdmin/
- Edit the
config.inc.php
file to configure thephpMyAdmin
connection 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/phpmyadmin
to access the