These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for php.ini error after installing various updates on the new forum.
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
Any advice how I can resolve this error?
Same here. CentOS 6 x64 and VirtualMin 5.05. This does seem to happen only for server ALIASES, not real servers...
Yes, agreed, only virtual servers.
Signature: Implement powerful CRM solutions using: Agile CRM: Advanced Marketing Automation (Note: This is an affiliate link)
Same here. Debian 7.11, Virtualmin 5.05.
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.
As per this post (https://www.virtualmin.com/node/44325), one stated as below.
"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."
Any updates?