Page 1 / 2 (15 Posts)

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…...

December 3, 2009 · 4 min · François Planque

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…...

December 3, 2009 · 2 min · François Planque

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

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:…...

November 29, 2009 · 2 min · François Planque

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…...

May 28, 2009 · 3 min · François Planque

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…...

June 22, 2007 · 7 min · François Planque

The importance of URIs

"People don’t recognize how important URIs are. The notion that you have a huge, world-scale, information space, and that everything in it has an name and they’re all just short strings that you can paint on the side of a bus; that’s a new thing and a go…

May 5, 2007 · 1 min · François Planque

How to redirect www.domain.com to domain.com (or reverse)

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…...

March 21, 2007 · 4 min · François Planque

Sitemaps priority is confusing

When looking at the sitemaps protocol which is now endorsed by Google, Yahoo and MSN, I can't help but crying about how obscure the documentation is, especially for the element. Please note that the priority you assign to a page is…...

March 20, 2007 · 2 min · François Planque

Apollo: the Flash Virtual Machine is getting better

It was bound to happen. Macromedia's (well, Adobe's) Flash player finally evolved into a very complete Virtual Machine. They call it Apollo. It basically solves the same problem Java has tried to solve for years: write once, run anywhere. Though it's…...

March 20, 2007 · 1 min · François Planque

PNG not suited for webdesign!

I've been banging my head on my Mac & PC monitors with this! I had gone a long way already with color matching my Mac & PC displays, but this is far worse! Suppose you have a logo on a plain color background that has a specific color code,…...

March 15, 2007 · 2 min · François Planque