Resolved php upgrade? Wordpress painfully slow...

Status
Not open for further replies.

femifitx

Member
Messages
120
Reaction score
2
Points
18
My site is so painfully slow. It takes forever to get anything down in Wordpress. I've tried disabling all plugins, then re-enabling them one at a time to see if a plugin is the culprit. But that hasn't revealed much. I'm thinking a php upgrade would perhaps be my best bet now. Any chance I can be helped with this? Or if there's anything else that can be done to help fix this issue, I would be most grateful.

Thanks
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
A PHP upgrade is unlikely to do anything, but you can update it at anytime from DirectAdmin (under Extras).

I can see your main site takes about 2 seconds to load, and then some content on the page takes 2 seconds as well. The rest of the assets take about 2 seconds total, so it's about a 6 second load time for me. So, focus on Wordpress and not something like a CSS minifier and etc. There are some tools to profile PHP, which would get you a definitive answer, but they're quite technical to install and use.
 

femifitx

Member
Messages
120
Reaction score
2
Points
18
I updated already. I think I'm up to 7.3 - was hoping for 7.4.

The site loads reasonably fast of course, because it's cached. Wordpress is where the real issue is. I'm really at a loss on my end right now.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
The last person who described the same issue was doing crazy SQL queries returning ten thousand rows, but I haven't seen anyone really say it's a consistent issue with PHP itself. The servers running x10 are behemoth; a PHP script shouldn't hold it up under normal circumstances.

Maybe some of these could help?

https://www.collectiveray.com/wordpress-debug

xdebug is available if you don't use the native version of PHP. I've used it before, but you'll spend a LOT of time fiddling with it before getting really useful results. I thought there was an easy way for it to just spit out information like some of the profilers I've used for compiled software, but it's not so easy.
 

femifitx

Member
Messages
120
Reaction score
2
Points
18
The last person who described the same issue was doing crazy SQL queries returning ten thousand rows, but I haven't seen anyone really say it's a consistent issue with PHP itself. The servers running x10 are behemoth; a PHP script shouldn't hold it up under normal circumstances.

Maybe some of these could help?

https://www.collectiveray.com/wordpress-debug

xdebug is available if you don't use the native version of PHP. I've used it before, but you'll spend a LOT of time fiddling with it before getting really useful results. I thought there was an easy way for it to just spit out information like some of the profilers I've used for compiled software, but it's not so easy.


Thanks. I'll check that link out. Really would be happy to fix this issue once and for all. It's been lingering for too long.
 

spacresx

Community Advocate
Community Support
Messages
2,199
Reaction score
195
Points
63
1 thing Ive learned is the more tasks and more content you make a website run,
the slower it will seem to be, or get over time especially if you have a lot of files,
or a heavily loaded database. updating to a newer php version wont really solve that.
just saying.
 

femifitx

Member
Messages
120
Reaction score
2
Points
18
1 thing Ive learned is the more tasks and more content you make a website run,
the slower it will seem to be, or get over time especially if you have a lot of files,
or a heavily loaded database. updating to a newer php version wont really solve that.
just saying.

Well, I'm sure you know you don't get an unlimited amount of resources (storage e.t.c...) with the free version, so that basically makes this point moot. Newer versions of php tend to run faster, so in certain cases, updating to the latest php can actually help - a lot.
 
Status
Not open for further replies.
Top