To install phpMyAdmin on AlmaLinux 9 with Apache, follow these steps:
Step 1 : Before installing any packages, update your system to ensure you have the latest security patches and software updates:

Step 2 : phpMyAdmin is not available in the default AlmaLinux repositories, so you need to install the EPEL repository first:

Then, install phpMyAdmin:

Step 3 : By default, phpMyAdmin is restricted to local access only. To allow remote access, open the configuration file:
Find the following line:
Replace it with:

Save and exit the file.
Step 4 : Apply the changes by restarting Apache:

Step 5 : Open your web browser and navigate to:

Log in using your MariaDB or MySQL credentials.

Congratulations! You have successfully installed and configured phpMyAdmin with Apache on AlmaLinux 9.