Using WAMP 3 (Apache/2.4.23 (Win64) PHP/7.0.10 mod_fcgid/2.3.9 Server at localhost Port 80)
# Virtual Hosts
#
<Directory c:/wamp/www/testdir>
Options +Indexes +FollowSymLinks +Multiviews
AllowOverride all
Require local
</Directory>
<VirtualHost *:80>
ServerAdmin <emailaddress>
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
</VirtualHost>
#
Here is my httpd.conf (only added these lines at the end of the standard file)
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
<IfModule fcgid_module>
FcgidIOTimeout 1200
FcgidConnectTimeout 1200
FcgidBusyScanInterval 1200
FcgidBusyTimeout 1200
FcgidErrorScanInterval 1200
FcgidIdleScanInterval 1200
FcgidIdleTimeout 1200
FcgidProcessLifeTime 3600
FcgidZombieScanInterval 1200
MaxRequestLen 15728640
FcgidMaxRequestLen 15728640
</IfModule>
I must have read over 20 threads here and tried numerous solutions to no avail.
All of the above worked in the previous version of WAMP (Apache 2.4.9, PHP 5.5.12, same mod_fcgid.so file).