Solved: How to increase the speed of WAMP server?

If WordPress running too slow on localhost and taking too much time to load. You can fix this issue very easily.

Solution 1: Disable CGI_module in Wamp’s Apache server.

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.

wamp.PNG
Un-check the cgi_module

Cgi_module is responsible for execution of third party cgi scripts.

Solution 2: Disable XDebug

If you are using WAMP server, left click on WAMP Server in System Tray, Go to PHP > php.ini. open this file in text editor, Search for XDEBUG and add following 3 lines.

Set xdebug autostart to false

xdebug.remote_autostart=0
xdebug.remote_enable=0

Disable your profiller

xdebug.profiler_enable=0

wamp2.PNG

Shoot you questions in the comments section below.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s