To install phpMyAdmin with Apache on AlmaLinux 10, follow the steps below:
Step 1 : Update all system packages to the latest version:

Step 2 : Install phpMyAdmin using the package manager:

Step 3 : Open the phpMyAdmin Apache configuration file:
Find the line:

Change it to:

Save and exit the file.
Step 4 : Restart Apache to apply the configuration changes:

Step 5 : Open a web browser and go to:

Log in using your MariaDB/MySQL username and password.

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