En Fr
Web/database development and more...

Tags: apache2

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 »