Tags: apache
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 »
03/21/07
How to redirect www.domain.com to domain.com
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 »
