1

I have been trying to setup the magento site but have been playing around with permissions which has resulted in the following error in the suexec.log

[2014-04-25 08:20:56]: uid: (5015/web12) gid: (5011/client7) cmd: .php-fcgi-starter
[2014-04-25 08:20:56]: target uid/gid (5015/5011) mismatch with directory (33/33) or program (33/33

Any ideas how i can get it so that the uid and gid match?

I have done id www-data and 5011/client7 is against that user.

Any help would be great.

karel
  • 122,292
  • 133
  • 301
  • 332
tjhack
  • 123

1 Answers1

0

It seems that httpd is trying to run .php-fcgi-starter script using suEXEC as user web12 group client7 (uid:5015,gid:5011) and script or directory owner has uid:33 and gid:33.

suEXEC allow to run script with a user/group defined by SuexecUserGroup directive. Target user/group must be the same as the user/group that owns script and directory.

Probably you need to run:

chown -R web12:client7 /var/www/php-fcgi-scripts/web12

suEXEC performs a lot of check before run a script, here is useful link for more details.

Lety
  • 6,089
  • 2
  • 32
  • 38