How to fix "You don't have permission to access /index.php on this server." on 64bit WAMP 3
<p>Using WAMP 3 (Apache/2.4.23 (Win64) PHP/7.0.10 mod_fcgid/2.3.9 Server at localhost Port 80)</p>

<pre><code># Virtual Hosts
#

&lt;Directory c:/wamp/www/testdir&gt;
    Options +Indexes +FollowSymLinks +Multiviews
    AllowOverride all
    Require local
&lt;/Directory&gt;

&lt;VirtualHost *:80&gt;
    ServerAdmin &lt;emailaddress&gt;
    DocumentRoot "c:/wamp/www/testdir/"
    ServerName prerelease.mydomain.com
    DirectoryIndex index.php
    ErrorLog "logs/prerelease.mydomain.com-error.log"
    CustomLog "logs/prerelease.mydomain.com-access.log" common
&lt;/VirtualHost&gt;
#
</code></pre>

<p>Here is my httpd.conf (only added these lines at the end of the standard file)</p>

<pre><code>LoadModule fcgid_module modules/mod_fcgid.so

FcgidInitialEnv PHPRC "C:/wamp/bin/php/php7.0.10"
AddHandler fcgid-script .php
FcgidWrapper "C:/wamp/bin/php/php7.0.10/php-cgi.exe" .php

&lt;IfModule fcgid_module&gt;

    FcgidIOTimeout 1200
    FcgidConnectTimeout 1200
    FcgidBusyScanInterval 1200
    FcgidBusyTimeout 1200
    FcgidErrorScanInterval 1200
    FcgidIdleScanInterval 1200
    FcgidIdleTimeout 1200

    FcgidProcessLifeTime 3600
    FcgidZombieScanInterval 1200
    MaxRequestLen 15728640
    FcgidMaxRequestLen 15728640

&lt;/IfModule&gt;
</code></pre>

<p>I must have read over 20 threads here and tried numerous solutions to no avail.</p>

<p>All of the above worked in the previous version of WAMP (Apache 2.4.9, PHP 5.5.12, same mod_fcgid.so file).</p>