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 done a 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
Perhaps you did not start any of the php-fpm services? Oh no wait, you're just including that output for reference, you're not complaining about php-fpm not working.
Exactly, i am not complaining about FPM, i don't want to use FPM. My complaining is that on server creation no php.ini with corresponding php version folder are being created inside /home/domain.com/etc/