En Fr
Web/database development and more...

Tags: apache

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 »

03/21/07

English (US) How to redirect www.domain.com to domain.com

Permalink 10:54:53 pm, by Francois Planque Email , Categories: HTTP/SSL
Most sites can be reached by two different URLs. For example http://b2evolution.net/about/features.html and http://www.b2evolution.net/about/features.html . This is good for the users who can choose wether or not to type in the "www." part. However, i… more »