Enabling mod_fcgid results in 403
Posted
by
laggingreflex
on Server Fault
See other posts from Server Fault
or by laggingreflex
Published on 2012-11-05T16:52:38Z
Indexed on
2012/11/05
17:03 UTC
Read the original article
Hit count: 286
I have an EasyPHP 12.1 setup (latest) on Windows 7x64 and I'm trying to enable mod_fcgid
for PHP. I have added the following in my httpd.conf
Include conf/extra/httpd-vhosts.conf
LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC "C:\progra~2\EasyPHP-12.1\php\php546x121028092509"
AddHandler fcgid-script .php
FcgidWrapper "C:\progra~2\EasyPHP-12.1\php\php546x121028092509/php-cgi.exe" .php
and Options ExecCGI Indexes FollowSymLinks
under <Directory "${path}/www">
I've made sure the paths are all good and set permissions on the entire C:\progra~2\EasyPHP-12.1
and my www
root to Everyone - Allow All
.
Yet I still get 403 on all server(localhost) requests. Along with Apache/2.4.2 (Win32) PHP/5.4.6 mod_fcgid/2.3.7
so I know mod_fcgid is enabled and is causing the 403.
Commenting out the above lines from httpd.conf
makes it work again but is slower than death (which is why I wanted mod_fcgid). What could I be doing wrong?
© Server Fault or respective owner