Wordpress running ver slow under WAMP setup
Posted by: SimonT (---.lightspeed.stlsmo.sbcglobal.net)
Date: November 05, 2015 11:40PM

I've searched the forums and not found anything addressing my issue.

I installed WAMP to be able to develop and test wordpress modules locally.

I've got it running with no errors. HTML files work correctly and response time is very good.

However, when I request a Wordpress php file, it takes so long that I can switch over to a Freecell game and make several moves before the page loads.

I'm not joking about Freecell, I just timed the load of the wordpress front page - it is an index of the recent quotes - which has only three entries and it took 21 seconds.

Now, I know that wordpress is a hopelessly bloated, inefficient package trying to be everything for everyone and even online it runs slow enough to be noticed. But the difference between online and locally is huge.

I have no other php applications to run to test to see if php is the bottleneck. Can anyone suggest something that I could install quickly to test response time?

Does anyone have any thoughts as to what I need to do to improve the response time?

Simon

Options: ReplyQuote
Re: Wordpress running ver slow under WAMP setup
Posted by: Otomatic (Moderator)
Date: November 06, 2015 09:48AM

Hi,

- 1 - Use VirtualHost to run WordPress : The need for Virtual Host
- 2 - Use 127.0.0.1 instead of localhost for MySQL host server
- 3 - Verify if there is:
# AcceptFilter: On Windows, none uses accept() rather than AcceptEx() and
# will not recycle sockets between connections. This is useful for network
# adapters with broken driver support, as well as some virtual network
# providers such as vpn drivers, or spam, virus or spyware filters.
AcceptFilter http none
AcceptFilter https none

# Supplemental configuration
in wamp\bin\apache\apache2.4.9\conf\httpd.conf file.

Note: Wampserver is a local development server and is not intended to become a production server.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.