For the past few days, I’ve noticed that my sites were running EXTREMELY slow. I hadn’t made any changes so I checked the server’s side. I noticed that all my domains were still running on PHP 5.2.x, which was not recommended. Not sure if this was the reason why my sites were slowed to a crawl, but everything seems to be running ok now.
Here’s how I “upgraded”:
- Go to Manage Domains in the control panel: https://panel.dreamhost.com/index.cgi?tree=domain.manage&
- Click on Edit for that domain.
- Under PHP mode, pick PHP 5.3 or PHP 5.4, both work with WordPress.
- Then hit ‘Change settings’
- Wait ten minutes and everything should be golden.
Play a virtualÂ accordion byÂ re-sizingÂ your browser window.
Since upgrading to WordPress 3.5, I had trouble on one of my sites where I couldn’t add links, media or edit in text mode. I found a fix by adding this in the wp-config.php (above ‘stop editing here’):
I’ve used dreamhost to host this website for years, but for some reason, wordpress runs extremely slowly on it. But I found some code to compress your php so I’m giving it a try. Does my page load a faster? Seems so to me, but maybe it’s just psychological.
First, place the following code in a file and call it “test.php” and then upload it to the root of your blog directory:
<?php phpinfo(); ?>
Make sure that “zlib” is enabled by your hosting provider.
Second, place the following code in your header (above the DOCTYPE):
If all’s well, make sure to delete that test.php file.
High five to wprecipes.com.