Apache now runs as 'apache' user after PHP upgrade
I was wondering if someone knows what's up.
I have ISP Config 2 running on my server and all has been well until today. I needed to upgrade PHP from 5.1 to 5.3.
I removed the php-* packages, and installed the equivalent php53-* packages.
I've noticed since then, that PHP seems to be writing files to the server with the 'apache' user context.
I'd love to know how I can fix this. I'm running CentOS 5.6 (upgraded from 5.5).
If you use mod_php, this depends on the user and group that Apache is running as. I think apache is the correct user for CentOS.
Sorry for not coming back sooner.
Yes, apache is the correct user, but not when using ISPConfig.
Each apache/http domain would write files under its own user:group context (ie. web1_admin:web1).
Since updating PHP this has stopped. I've modified the permissions on the domains to apache, but it's far from ideal and not great security.
Anyone have any suggestions how I can get this behaviour back?
Pleasecheck that you use "php-fcgi" as php mode and that suexec is enabled in the website settings.
|All times are GMT +2. The time now is 09:35.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.