Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been following this blog post so that I can share APC opcode cache between PHP processes using FastCGI. Unfortunately I'm getting the following error when starting httpd:

Starting httpd: Syntax error on line 4 of /etc/httpd/conf.d/mod_fastcgi.conf:
FastCgiWrapper: "/usr/sbin/suexec" execute access for server (uid -1, gid -1) failed: execute not allowed

Line 4 of mod_fastcgi.conf has FastCgiWrapper On. I notice that the documentation states that this line could specify the path to the wrapper. Should that be changed?

I've checked that the permissions of the user's php-fastcgi script (550) and directory (555) are correct, /usr/sbin/suexec is correct (-r-s--x---) and that suEXEC is being loaded by apache ([notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)).

Where else should I be looking? I'm pretty sure that this is a permissions or path issue...


share|improve this question

It's to do with the order of the directives. In conf/http.conf it includes conf.d/* before it specifies User and Group directives.

Try putting mod_fastcgi.conf in conf/ and at the end of httpd.conf append

Include conf/mod_fastcgi.conf
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.