Posts Tagged “apache”

Speed up WordPress with Apache and Varnish

Varnish is an open source, state of the art web application accelerator. What it does is make your existing site faster by caching requests so your web server doesn’t have to handle them. This helps because your web server may be a lumbering giant like Apache that is loaded up with extra functionality like PHP, [...]

Read more »

WP Super Cache and mod_pagespeed

So I finally got a chance to try mod_pagespeed on this server. I particularly wanted to know if it behaved well with WP Super Cache as I’d read reports that it causes problems. Unfortunately those problems are real but I’ve been told that a new release will be out shortly to address a few bugs [...]

Read more »

Who's abusing your website?

I wanted to know what IP addresses were hitting my website. I’d done this before and it only took a moment or two to recreate the following commands. Still, here it is for future reference. grep -v “wp-content” access.log|grep -v wp-includes|cut -f 1 -d ” “|sort|uniq -c|sort -nr|less This code: Excludes “wp-content” and “wp-includes” requests. [...]

Read more »

WordPress, Nginx and WP Super Cache

If you host your own WordPress blog, it’s probably on Apache. That all fine and good. For most sites Apache works wonderfully, especially as it’s so easy to find information on it, on mod_rewrite and everything else that everyone else uses. One of the alternatives is Nginx, a really fast webserver that streaks ahead of [...]

Read more »

100,000 page views in 5 minutes

Now, that’s why you can’t believe benchmarks. Sure, this server was able to serve 100,000 page views in 282 seconds but: Requests were made from a VPS in the same datacenter. No need to worry about slow clients, or maintaining network connections to many remote clients. I used Litespeed Web Server instead of Apache. Was [...]

Read more »

Keep the libwww-perl bots out

If you look through your server logs you’ll probably notice more than a few requests like these: GET //wp-pass.php?_wp_http_referer=http://148.245.107.2/.ssh/id.txt?? … “libwww-perl/5.805″ GET /2004/02/18/smoking-ban-is-on-the-way/trackback/ … “libwww-perl/5.805″ GET /2004/02/18/irish-car-tax-list/trackback/ … “libwww-perl/5.805″ GET /tag/php//tags.php?BBCodeFile=http://drpepper.gigacities.net/id.txt? … “libwww-perl/5.579″ If you do find them (grep libwww-perl access_log) then add the following code to your .htaccess file. On a WordPress site this [...]

Read more »

Is your eAccelerator cache dir still there?

While looking through this WordPress performance post I realised that eAccelerator might not be running properly on this blog. For some time I’ve noticed this site hasn’t been as quick off the mark as it used to be. Dare I say it, but it was even a little sluggish! If you’re not familiar with it, [...]

Read more »

Notes when upgrading to PHP5

I upgraded one of my servers to PHP5 this morning. Two things to watch out for: The location of your php.ini may have changed. It’s probably now in /etc/php5/apache2/. You need to copy over any changes from your old one. Update your libraries too such as the mysql client and the gd library. Don’t forget [...]

Read more »

The real way to improve server performance

If you want to improve server performance, the best way is to move as much of the processing off it and onto the client machine. All those visitors of yours are running souped up AMD and Intel CPUs with their big screens and fat harddrives. No wonder your small little hosting plan can’t keep up. [...]

Read more »

Cannot load mysql extension. Please check your PHP configuration.

A friend recently had a problem configuring a new server. He installed PHP, Apache, MySQL and phpMyAdmin but when he launched it he got the following error: phpMyAdmin – Error Cannot load mysql extension. Please check your PHP configuration. If you’ve installed all of the above more than once you’ll know what is more than [...]

Read more »



Holy Shmoly! is Stephen Fry proof thanks to caching by WP Super Cache