I’m seeing the following error after “checking configuration”. Nothing has been changed on the server wrt php except virtualmin updates that have been applied.
The error message is below.
The following PHP versions are available : 5.6.27 (/usr/bin/php5-cgi)
PHP versions have changed to 5 since last check. Regenerating any missing php.ini files.
Failed to copy /etc/php5/apache2/php.ini to /home/repsolutions/domains/repsolutions.panel.automaticforthepeople.web.za/etc/php5/php.ini : cp: cannot create regular file ‘/home/repsolutions/domains/repsolutions.panel.automaticforthepeople.web.za/etc/php5/php.ini’: No such file or directory
Also experiencing sites down because apache is now running the web apps as www-data rather than the site owner. Not sure if that is related but its the reason I ran check-config and the only clue I can find so far…
OK, so I fixed my cgi owner issue by running virtualmin modify-web --mode fcgid on all affected domains, which although the sites were already set to fcgid seemed to regenerate the apache conf files differently this time and fix my issue.
I’m not sure if this is actually related to the OP, but I suspect the failure to regen config files could be the cause? If not, sorry to hijack the thread. I am still getting the OPs error though.
Same here with Cent OS 7. On mine, the re-check config routine tries to copy php.ini to an alias domain where the folder /home/…/etc/php5/ doesn’t exist.
“This is a bug in Virtualmin - it shouldn’t be trying to generate missing php.ini files for alias domains. However, it’s harmless and can be ignored.
We will fix it in the next release though.”
I’m seeing a message on front page as below. But can’t proceed.
“Information!
Virtualmin’s configuration has not been checked since it was last updated. Click the button below to verify it now.”