Ok, so I upgraded php from 5.0.5 to 5.2.1 and the problem went away,
but it is not so easy for me to upgrade my other Unix envoronment as
anything after php 5.0.5 requires me to upgrade mysql as well. So what
is it about 5.0.5 that is causing this error, and how do I fix it
without upgrading.