I've just installed a new Apache 2.4.2 with Php fast cgi build on windows.
Then I modified the httpd.conf adding the following:
LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC "C:/SITE/PHP"
AddHandler fcgid-script .php
FcgidWrapper "C:/SITE/PHP/php-cgi.exe" .php
DocumentRoot "C:/SITE/localhost/www"
<Directory "C:/SITE/localhost/www">
Order allow,deny
Allow from all
</Directory>
However when I try to open my site, it says:
Forbidden You don't have permission to access / on this server.
Any ideas what might be the problem?
This was the correct way to do it: (thanks to DaveRandom)
Dave Random explains further: