Failed to install script : Could not find PHP version for /home..../public_html/phpmyadmin

Can not install phpmyadmin script . I got this message Failed to install script : Could not find PHP version for /home…/public_html/phpmyadmin . I have centos 7.
I got pht 7.2 installed. On re-check configuration the output is this:
Your system has 7.59 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.

BIND DNS server is installed, and the system is configured to use it.
Mail server Postfix is installed and configured.
Postfix can support per-domain outgoing IP addresses, but is not currently configured to do so. This can be setup in the Postfix Mailserver module.
Apache is installed.
The following PHP versions are available : 7.2.6 (/bin/php-cgi), 7.2 (mod_php)
PHP-FPM support was not detected : No FPM configuration directory found
Webalizer is installed.
Apache is configured to host SSL websites.
MySQL is installed and running.
ProFTPD is installed.
Logrotate is installed.
Plugin AWstats reporting is installed OK.
Plugin DAV Login is installed OK.
Plugin Protected web directories is installed OK.
Using network interface enp2s0 for virtual IPs.
Default IPv4 address for virtual servers is XXX.XXX.XXX.
Quotas are not enabled on the filesystem / which contains email files under /var/spool/mail. Quota editing for email has been disabled.
All commands needed to create and restore backups are installed.
The selected package management and update systems are installed OK.
Chroot jails are available on this system
… your system is ready for use by Virtualmin.

what am I missging? Please help.
I have installed phpmyadmin via YUM cmd but it cannot detect it.
Thanks