Do this with mysql :

This is caused by IPV6. Here is how you make MYSQL not use it. (so, without disabling IPV6)

edit mysql file ‘my.ini’

under the [wampmysqld] add the following:

bind-address = ::

Save file and restart mysql service


Working with Apache :

The solution that worked for me was to disable the cgi_module. Use one of these methods:

(Method 1) Right click on WAMP > Apache > Apache Modules > uncheck “cgi_module”

(Method 2) Edit httpd.conf and disable the loading of the CGI module by commenting this line:

LoadModule cgi_module modules/

Commenting would be just adding a # in front, like this:

#LoadModule cgi_module modules/

Restart the Apache service and you should be good to go.