Tag: "www"

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 »

How to install the APC PHP Cache on Debian (Lenny or Squeeze)

How to install the APC PHP Cache on Debian (Lenny or Squeeze)
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 »

How to install b2evolution on Mac OS X in 5 minutes from scratch

Tested with MAMP 1.7.2, b2evolution 3.2 and Mac OS X 10.5.7 :Download and install MAMP (Free) into the Applications folderStart MAMP and make sure you get the MAMP start pageDownload b2evolution and unzip it into /Applications/MAMP/htdocsPoint… more »

About the PHP 5 migration chicken & egg issue

It's been 3 years since PHP 5 has been released. Yet PHP 4 still rules on the vast majority of web hosting platforms. This is annoying for PHP open source developers who cannot leverage the potential of PHP 5 as long as they need to support PHP 4. Thi… more »