Sei sulla pagina 1di 10



Solved: WordPress Running Too Slow On

If you are using WAMP server for local WordPress development and WordPress Running Too Slow On
Localhost. You should disable cgi_module. Read tutorial to learn more.

Posted on June 29, 2016 ( by Tahir Taous

WordPress Tutorials (

I have been using WAMP server for a long time to set up local WordPress installations, Local development Servers like WAMP,
XAMPP and Bitmami makes is very simple and easy to build WordPress themes, plugins and Websites for customers.

WAMP, XAMPP and Bitnami are free softwares. You can set up a local development server very easily with these awesome
free products. I like to use WAMP, because I can set up multiple local WordPress installations.

You can also use XAMPP or Bitnami, both are awesome products. In this article, I am going to share few tips for WordPress
developers to make WordPress load faster on localhost.

If you are using WordPress and WAMP server for local development and localhost takes too much time to load your site. You
can very easily solve this problem.

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

NOTE: Solution 1 worked for me and after disabling cgi_module, local WordPress website was very fast.

You can also read the original thread at stackoverflow (


1. Disable Cgi_module In WAMP

The solution that worked for me was to disable 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.

See the screenshot below.

READ Make Your Site More Secure With WordPress Two Factor Authentication : 11 Tutorials


how to Disable Cgi_module In WAMP

2. Disable XDebug
It was PHP itself where the bottleneck was occurring. I disabled XDebug and my page-load time
went from ~1200ms to ~275ms. That was where the biggest single gain occurred, by far.
—Turibe (

How To 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



Disable your profiller


You can see the screenshot below.

How To Disable XDebug WAMP Server

Source: StackOverflow (


How To Install WordPress on WAMP how to install WordPress on windows 20 Free Tools To Setup WordPress
Server In Windows 8 8 using Bitnami Stack Development Environment
( ( (
wordpress-on-wamp-server- install-wordpress-on-windows-8- s-development-environment-
windows-8/) using-bitnami-stack/) setup-tools/)
March 28, 2016 March 25, 2016 December 26, 2016

 WordPress beginner ( WordPress Tutorials


About Author: (Http://Justlearnwp.Com/Author/Tahirtaous/)

Tahir Taous
Tahir Taous ( is an experienced blogger and WordPress users. He loves to write about
Blogging, WordPress, and Theme Development. You can download his free WordPress Theme Development
Handbook (, which reveals
more than 100 tools and resources to learn WordPress Theme Development.
View all posts by Tahir Taous (
Previous Most Popular Free Responsive WordPress Themes Next 5 Free WordPress Plugins to Increase Blog Traffic & EMail
2017 ( List (
responsive-wordpress-themes/) increase-blog-traffic/)

9 Responses On “Solved: WordPress Running Too Slow On


Loremar Guimarães
March 23, 2017 at 1:01 am

Disabling CGI worked for me. It’s running much faster now. I think that I would have to tune it up a little more but disabling
CGI turned admin panel usable again. Thanks!

Reply ↓ (

scuzzy (
March 14, 2017 at 4:50 am

I’ve had the same problem on Linux. Nothing worked including disabling cgi, tuning databases, etc.
Here’s what did work for me. Running Centos 7.3.
I have multiple vhosts running under Apache 2.4.
WP domain:
In /etc/hosts
This was slow as heck on a fast computer. I’d tried everything. Then I determined it was a problem was with WP resolving
‘things.’ WP uses locahost.
My IP address on my local network was I then tried that.
Changed /etc/hosts
Now WP runs fast on my local test server.

Reply ↓ (

Tahir Taous Post author

March 15, 2017 at 4:28 pm


310 thanks for sharing your experience.

Reply ↓ (

May 8, 2017 at 10:10 am

1. get local ipadress
2. do change on host file
3. change wordpress adress in wp-admin/options-general

*might be that it just feels faster after this but thats also something… :D…

Reply ↓ (

Faisal (
February 26, 2017 at 1:23 pm

Hi Admin…
after i use google AdSense and analytics code in WordPress My site is slow, and they told me to fix it as below Do you have a
solution to this problem.
Setting an expiry date or a maximum age in the HTTP header (60 minutes) (60 minutes) (2 hours)
My site:

Reply ↓ (

Tahir Taous Post author

March 9, 2017 at 11:57 am


Try this free plugin Far Future Expiry Header (

Reply ↓ (

December 15, 2016 at 8:46 am
I still can not fix this problem

Reply ↓ (

November 14, 2016 at 6:58 pm

Thank you!

Reply ↓ (

Rasin Bekkevold (

September 26, 2016 at 2:32 pm

I found this amazing article (

slow.html). It is related to this article. You must read. Although thank you for sharing your thoughts, this has added to my

Reply ↓ (

Leave A Reply
Your email address will not be published. Required fields are marked *

Comment *

Name *
Email *


Post Comment

Notify me of follow-up comments by email.

Notify me of new posts by email.

( (
 (
 (
 

Search … Search

Collection Of Best WordPress Themes

Best Market Place To Buy WordPress Themes (
Best Photography WordPress Themes (
Free WordPress Portfolio Themes (
Top WordPress Blog Themes (
Best Premium WordPress Themes (
30 Creative Design WordPress Themes (
Professional WordPress Blog Themes (
Top Premium Responsive WordPress Themes (
Best Coming Soon WordPress Themes (

Download The Fastest WordPress Theme – Jupiter

52,000+ users can't be wrong. Join them and download Jupiter today. (

Download Fastest WordPress Theme (

Recent Posts
Best 7 Free WordPress CRM Plugins to Run Your Own Customer Relationship Management
Top 10 Best WordPress Themes for Non-Profit, Church and Charity Websites 2017 (
SEO For Beginners 2017: How to Do SEO YourSelf For Better Google Rankings (
Hosting a Website – Does Web Hosting Affect SEO Rankings? – 5 Myths Debunked (
Start Growing Your Online Business NOW With these 8 Best WordPress Plugins For Marketing

310 mhsZ8K15M-ftfHl920Km8H781bHbJ9w2)
15M-ftfHl920Km8H781bHbJ9w2) is an online service to
receive and send online payments. You can withdraw
money with Payoneer master card.

FTC Disclosures
We write about WordPress plugins and themes and some links are affiliate links. We will make money if you buy through our
affiliate links on this website at no extra costs to you.

Theme BleedGreen Developed By Tahir Taous (

Contact Us ( Advertising (

Write For Us – Guest Post (


Potrebbero piacerti anche