En Fr
Web/database development and more...

Category: Linux stuff

Pages: 1 2 >>

12/03/09

English (US) Why echo is slow in PHP and how to make it really fast

Permalink 06:40:00 am, by Francois Planque Email , Categories: PHP, Web Dev, Linux stuff
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 »

English (US) How to log request processing times in Apache

Permalink 03:33:00 am, by Francois Planque Email , Categories: Web Dev, Linux stuff
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

English (US) How to install the APC PHP Cache on Debian (Lenny)

Permalink 01:50:50 am, by Francois Planque Email , Categories: PHP, Linux stuff
APC PHP Cache Control Panel
The APC PHP Cache Control Panel
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

English (US) Debian apt-get missing keys

Permalink 12:11:05 am, by Francois Planque Email , Categories: Linux stuff
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

English (US) Secure SSH private keys on Mac OSX 10.5

Permalink 02:34:42 am, by Francois Planque Email , Categories: Linux stuff, Mac stuff
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 »

Pages: 1 2 >>