I don't know what the problem is. WAMP was very slow, so I reformatted my computer and installed WAMP. Still, accessing localhost is very, very slow, and sometimes it doesn't even load at all. I even removed it and replaced it with XAMPP, but I still got the same result. What might possibly be the problem? Here's my current hosts file:
127.0.0.1 localhost
127.0.0.1 localhost
It was perfectly working fine before, but I do not know what happened and why it has started acting strange lately, since even a reformat didn't fix it.
-
This is caused by IPV6. Here is how you make MYSQL not use it. (so, without disabling IPV6) edit mysql file 'my.ini' under?[wampmysqld] ?or?[mysqld] ?add the following: ? bind-address = :: Save file and restart mysql service enjoy! -
Using Windows 10 (june of 2018), I managed to improve the loading that went from 2 seconds to less than 400 milliseconds doing a set of things I saw in this post and the internet Disabled xdebug in php.ini ? ; [xdebug]
; zend_extension ="C:/wamp64/bin/php/php5.6.25/zend_ext/php_xdebug-2.4.1-5.6-vc11-x86_64.dll"
; xdebug.remote_enable = off
; xdebug.profiler_enable = off
; xdebug.profiler_enable_trigger = off
; xdebug.profiler_output_name = cachegrind.out.%t.%p
; xdebug.profiler_output_dir ="C:/wamp64/tmp"
; xdebug.show_local_vars=0 -
And disabling cgi module? ? 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/mod_cgi.so
Commenting would be just adding a # in front, like this:
#LoadModule cgi_module modules/mod_cgi.so
Restart the Apache service and you should be good to go. -
I am using wamp64 on my windows 10 machine. I was having the same issue and turning off Xdebug of from my php.ini file resolves the issue for me.? ; [xdebug]
; zend_extension ="C:/wamp64/bin/php/php5.6.25/zend_ext/php_xdebug-2.4.1-5.6-vc11-x86_64.dll"
; xdebug.remote_enable = off
; xdebug.profiler_enable = off
; xdebug.profiler_enable_trigger = off
; xdebug.profiler_output_name = cachegrind.out.%t.%p
; xdebug.profiler_output_dir ="C:/wamp64/tmp"
; xdebug.show_local_vars=0
|