Category: Linux stuff
12/03/09
Why echo is slow in PHP and how to make it really fast
You may have noticed that PHP scripts that echo a lot of content appear to be running with poor performance... Well, the operative word here is "appear". It is a common misconception that "echo is the slowest PHP command"! The problem is actually… more »
How to log request processing times in Apache
If you have an apache (2) web server, you probably have an access.log file showing you all kinds of data using the "combined" log format. Let's see how to include processing time into that log file.
By default a line in the combined log looks like this… more »
11/29/09
How to install the APC PHP Cache on Debian (Lenny)
The APC cache can significantly improve your PHP script performance, just by installing it, whoch basically takes 5 minutes! Here's what I did on my Debian Lenny box... First you may want to have a reference benchmark to see if it actually improves:… more »
05/28/09
Debian apt-get missing keys
Lately, my Debian servers have been bugging me with stuff like this everytime I tried to apt-get update:W: There are no public key available for the following key IDs:XYZ123W: You may want to run apt-get update to correct these problems</p&g… more »
12/21/08
Secure SSH private keys on Mac OSX 10.5
First cool thing that everybody knows already: Mac OSX is based on Unix so you get ssh out of the box.
Second cool thing you may not know: OS X 10.5 actually also comes with an ssh key agent (ssh-agent). That means that, without any additional softwar… more »

