Solved - WordPress Running Too Slow On Localhost - JustLearnWP
Solved - WordPress Running Too Slow On Localhost - JustLearnWP
com/)
Menu
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.
310
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.
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:
READ Make Your Site More Secure With WordPress Two Factor Authentication : 11 Tutorials
(http://justlearnwp.com/two-factor-authentication-wordpress-tutorials/)
310
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 (http://stackoverflow.com/users/877574/turibe)
xdebug.remote_autostart=0
xdebug.remote_enable=0
xdebug.profiler_enable=0
Related
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
(http://justlearnwp.com/install- (http://justlearnwp.com/how-to- (http://justlearnwp.com/wordpres
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
Loremar Guimarães
March 23, 2017 at 1:01 am
(http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/#comment-2632)
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 ↓ (http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/?replytocom=2632#respond)
scuzzy (http://appleseedinfo.org)
March 14, 2017 at 4:50 am
(http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/#comment-2617)
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: mysite.org
In /etc/hosts
127.0.0.1 mysite.org
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 192.168.0.106. I then tried that.
Changed /etc/hosts
192.168.0.106 mysite.org
Now WP runs fast on my local test server.
Reply ↓ (http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/?replytocom=2617#respond)
mk
May 8, 2017 at 10:10 am
(http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/#comment-2682)
steps:
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 ↓ (http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/?replytocom=2682#respond)
Faisal (http://gooeos.com)
February 26, 2017 at 1:23 pm
(http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/#comment-2593)
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
pagead2.googlesyndication.com/pagead/js/adsbygoogle.js (60 minutes)
pagead2.googlesyndication.com/pagead/osd.js (60 minutes)
google-analytics.com/analytics.js (2 hours)
My site: gooeos.com
Reply ↓ (http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/?replytocom=2593#respond)
Reply ↓ (http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/?replytocom=2606#respond)
LMHT (http://www.tieuthien.com)
December 15, 2016 at 8:46 am
(http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/#comment-2515)
310
I still can not fix this problem
Reply ↓ (http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/?replytocom=2515#respond)
Kubara
November 14, 2016 at 6:58 pm
(http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/#comment-2493)
Thank you!
Reply ↓ (http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/?replytocom=2493#respond)
Reply ↓ (http://justlearnwp.com/wordpress-running-too-slow-on-localhost-solution/?replytocom=2460#respond)
Leave A Reply
Your email address will not be published. Required fields are marked *
Comment *
Name *
310
Email *
Website
Post Comment
(https://youtube.com/justlearnwp) (http://justlearnwp.com/newsletter/)
(https://twitter.com/justlearnwp)
(https://facebook.com/justlearnwp)
(http://feeds.feedburner.com/JustLearnWP)
Search … Search
310
Download The Fastest WordPress Theme – Jupiter
(http://justlearnwp.com/go/jupiter)
52,000+ users can't be wrong. Join them and download Jupiter today. (http://justlearnwp.com/go/jupiter)
Recent Posts
Best 7 Free WordPress CRM Plugins to Run Your Own Customer Relationship Management
(http://justlearnwp.com/wordpress-crm-plugins/)
Top 10 Best WordPress Themes for Non-Profit, Church and Charity Websites 2017 (http://justlearnwp.com/best-wordpress-
themes-for-charity-websites/)
SEO For Beginners 2017: How to Do SEO YourSelf For Better Google Rankings (http://justlearnwp.com/how-to-do-seo-for-
beginners/)
Hosting a Website – Does Web Hosting Affect SEO Rankings? – 5 Myths Debunked (http://justlearnwp.com/hosting-a-
website-tips/)
Start Growing Your Online Business NOW With these 8 Best WordPress Plugins For Marketing
(http://justlearnwp.com/best-wordpress-plugins-for-marketing/)
(https://share.payoneer.com/nav/dR3L6IDjZGEv
JG-
Zikb6b9SYrso9eQZ2dc4pz8miBqRY7xVI8CoWlX6
310 mhsZ8K15M-ftfHl920Km8H781bHbJ9w2)
Payoneer
(https://share.payoneer.com/nav/dR3L6IDjZGEvJG-
Zikb6b9SYrso9eQZ2dc4pz8miBqRY7xVI8CoWlX6mhsZ8K
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.
310