From virtual server, Install scripts -> phpmyadmin
I choose a stable version (or any version), change installation directory name (or just leave as default phpmyadmin),
then I later uninstall it.
Afterwards, this is where phpmyadmin installation gets broken completely. I can no longer re-install phpmyadmin as it keeps throwing this error
"Failed to install script : Could not find PHP version for /home/domain-name/public_html/"
I validated all virtual servers with no errors.
Checking configuration for php versions displays:
The following PHP versions are available : 5.4.16 (/bin/php-cgi), 5.6.25 (/opt/rh/rh-php56/root/usr/bin/php-cgi), 7.2.24 (/opt/rh/rh-php72/root/usr/bin/php-cgi)
The following PHP-FPM versions are available on this system : 5.4.16 (php-fpm) 5.6.25 (rh-php56-php-fpm) 7.2.24 (rh-php72-php-fpm)
The following PHP execution modes are available : fcgid fpm
I remember this problem existing on previous versions as well. (when using nginx php-fpm) Maybe it has to do with having multiple php versions,
is there any way to properly reinstall phpmyadmin?