New CentOS 7 install with multiple php versions, no php56, php70, php71 folders created during domain add.

Hi there, On a fresh new Virtualmin install on CentOS 7 using multiple php versions installed by default (rh-php56, rh-php70, rh-php71), during add new domain there are no corresponding phpXX folders created inside /home/$domain/etc folder, causing a lot of issues. I have donea check virtualmin configuration with the following output:

The following PHP versions are available : 5.6.25 (/opt/rh/rh-php56/root/usr/bin/php-cgi), 7.0.10 (/opt/rh/rh-php70/root/usr/bin/php-cgi), 7.1.8 (/opt/rh/rh-php71/root/usr/bin/php-cgi)

-PHP-FPM support was not detected : No FPM configuration directory found -Apache is configured to host SSL websites. -MySQL is installed and running. -Logrotate is installed. -Plugin Protected web directories is installed OK. -Using network interface eth0 for virtual IPs. -Default IPv4 address for virtual servers is x.x.x.x. -Both user and group quotas are enabled for home and email directories. -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 can i check? Thank you



Howdy -- hmm, that is pretty odd!

I don't imagine you're seeing any errors or warnings during the creation of the Virtual Server? Is there any chance you could create a new Virtual Server, and copy/paste the output you receive into the request here?

No error or warning at all, here is the output as requested:

Creating administration group .. .. done Creating administration user .. .. done

Creating aliases for administration user .. .. done

Adding administration user to groups .. .. done

Creating home directory .. .. done

Creating mailbox for administration user .. .. done

Adding new virtual website .. .. done

Adding webserver user apache to server's group .. .. done

Performing other Apache configuration .. .. done

Setting up log file rotation .. .. done

Creating MySQL login .. .. done

Creating MySQL database test_com .. .. done

Applying web server configuration .. .. done

Saving server details .. .. done