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.