Failed to copy php.ini to subdomain

On one of my Ubuntu Trusty I have an error:

"Failed to copy /etc/php5/apache2/php.ini to /hosting/<maindomain>/domains/<subdomain>/etc/php5/php.ini : cp: cannot create regular file ‘/hosting/<maindomain>/domains/<subdomain>/etc/php5/php.ini’: No such file or directory"

Looks like https://www.virtualmin.com/node/44325 because I guess that one is fixed already because of the comments and the problem disappeared on most of my other servers. So I think this problem looks the same but is a bit different (?)

virtualmin version: 5.05.gpl webmin version: 1.831

Caution: I'm using multiple php-versions (Ubuntu's 5.5 and Ondrej's 5.6 and 7.0). Maybe this is related.

Status: 
Active

Comments

Howdy -- yeah this is an unfortunate bug, and we'll be releasing an update soon that resolves it.

What you can do in the meantime is create the directory that it's missing, which should work around the problem until the fix is released.

Thank you for your response, I'll wait!