Submitted by hescominsoon on Thu, 04/20/2017 - 18:55 Pro Licensee
I have more than one site that is being run as apache instead of their user account. How can this get fixed?
Status:
Active
I have more than one site that is being run as apache instead of their user account. How can this get fixed?
Comments
Submitted by hescominsoon on Thu, 04/20/2017 - 19:14 Pro Licensee Comment #1
Ok I had to go site by site and reset the users to their correct users and groups inside of virt. I am really thinking this installation has got issues with all of the weird crap i keep seeing.
Submitted by andreychek on Thu, 04/20/2017 - 19:49 Comment #2
Howdy -- that does sound like an unusual issue! That's working better for you now though?
PHP scripts are running as the proper Virtual Server owner now?
Submitted by hescominsoon on Thu, 04/20/2017 - 20:26 Pro Licensee Comment #3
yeah...it appears that way..:)
Submitted by andreychek on Thu, 04/20/2017 - 21:07 Comment #4
Let us know if you run into that again. We've seen like what you described in the past -- where even though FCGID or CGI was being used, the Apache user was the owner of the PHP process, and not the Virtual Server owner.
There's various possible causes for that, though the most common one we had seen was when PHP from a third party repository had been installed. The PHP config installed from some repositories can cause Virtualmin's Apache config to be overridden, and forces mod_php to be used.
That's just one possible cause though, we can certainly troubleshoot other possible causes if that issue occurs again.