Author |
|
schauundhorch
Joined: 10 Feb 2015 Posts: 9 Location: Germany
|
Posted: Tue 10 Feb '15 22:37 Post subject: wordpress backend on apache extremely slow. |
|
|
Hi community,
first of all I have to say, that I am a totally noob with apache and hopr to find some help here.
Here's the problem: I realized a website on wordpress for a client that needs to run this as intranet. I developed the whole project on a local environment with vagrant. I also installed the whole project for testing at my hosting provider. Everything works fine.
Some days ago I installed the whole project on the clients server. Bad thing is, as it is a intranet server, I have no access. The IT department set up an apache server on a linux system. Installation went also fine. We had to correct the host address as we had another on our test environment and with import we also imported mysql tables with wrong host address. We did search and replace in PhpMyAdmin and then everything worked.
The frontend is working fine but the backend of wordpress is incredibally slow. I deactivated all plugins and activated basic theme but had no success in speed.
My prblem is, that I have no exerience in server configuration as I normally work with hosting companies, that do the job for me. Now the IT department of the company is not really helping as the are not really interested in setting up this project.
My question now is. Has anyone an Idea how the slow speed is caused? What could be the mistake? How can I find the mistake.
I hope you can help me |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 10 Feb '15 23:03 Post subject: |
|
|
Does the client server run the same apache version? The same apache MPM?
The same PHP version? Wordpress runs a lot faster with the last PHP version. |
|
Back to top |
|
schauundhorch
Joined: 10 Feb 2015 Posts: 9 Location: Germany
|
Posted: Tue 10 Feb '15 23:05 Post subject: |
|
|
I am not quite sure but will check. I guess this could not be the main reason. Becaus we have loading time of up to 60 sec... |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 10 Feb '15 23:08 Post subject: |
|
|
Did you define 127.0.0.1 for the mysql connection? I often had issue with localhost because of an IPv6 issue. The Client OS is Windows? |
|
Back to top |
|
schauundhorch
Joined: 10 Feb 2015 Posts: 9 Location: Germany
|
Posted: Tue 10 Feb '15 23:11 Post subject: |
|
|
Yes client OS is windows. The Mysql Table is on another server so the IP is 172.20.20.184 wordpress is on 172.20.20.185 |
|
Back to top |
|
schauundhorch
Joined: 10 Feb 2015 Posts: 9 Location: Germany
|
Posted: Wed 11 Feb '15 9:05 Post subject: |
|
|
can this be the problem? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 11 Feb '15 17:28 Post subject: |
|
|
You should do an installation with the MySQL DB locally. |
|
Back to top |
|
schauundhorch
Joined: 10 Feb 2015 Posts: 9 Location: Germany
|
Posted: Wed 11 Feb '15 17:35 Post subject: |
|
|
mhm maybe I am wrong, but two servers are virtual servers. Physically database and files are on the same Harddrive I guess. Or what do you mean by locally? sorry for dumb questions |
|
Back to top |
|
gijs
Joined: 27 Apr 2012 Posts: 189 Location: The Netherlands
|
Posted: Wed 11 Feb '15 19:11 Post subject: |
|
|
He means that you should install it in the same virtual machine that runs apache. |
|
Back to top |
|
schauundhorch
Joined: 10 Feb 2015 Posts: 9 Location: Germany
|
Posted: Wed 11 Feb '15 19:13 Post subject: |
|
|
ok, I understand.
but the frontend is fast if the database connection is to slow, the frontend would be slow as well? |
|
Back to top |
|
schauundhorch
Joined: 10 Feb 2015 Posts: 9 Location: Germany
|
Posted: Wed 25 Feb '15 15:59 Post subject: |
|
|
just wanted to let you knwo my solution. Due to slow internet connection and firewall the loading time was that bad. I disabled all communication of wordpress to other domains and now it runs normal...
hope this infos helps somebody.. |
|
Back to top |
|