Hi there team! We had migrated a complete virtualmin/webmin setup from one system to another. We noticed the permissions were not working correctly on the new system. Whenever someone orders a new website, we have to go through some hoops to get it working. We first need to go to the Apache settings and find the new website. Then we go to the User and Group setting and we have to switch Run CGI Program as User from global configuration instead of Unix user. We have to do the same for the port 443 configuration. After that, we have to go switch the PHP version of the website and then switch it back and then it finally works. Otherwise, if we don't do all the above, we just get an internal server error. Please help, not sure what the correct permissions are and where they need to be applied. Thank you!
Wrong permissions set for PHP?