How many variables changed? Let me count the ways …

The previous rant [1] was brought to you by a site that moved from a Linux 2.4 system running Insipid, Apache 1.3 with PHP 4.2 and MySQL 3.23.x to a Linux 2.6 system running Blech, Apache 2.0 with PHP 4.3 and MySQL 3.23.y and wasn't working properly on the new system.

I can't say for certain that the problem isn't Apache, PHP, MySQL or Linux, but each piece works, and they seem to be working together, but given that PHP is the scripting language du jour it's not out of the question that the code which works (for the most part) under PHP 4.2 doesn't work under PHP 4.3.

Or it may be that it works under PHP 4.3 but only under Apache 1.3 and not Apache 2.0.

Or it may be that the database replication from one server to another one didn't work (but all 322 tables have been replicated).

Or it could be that it's a weird interaction with Apache 2.0 and PHP 4.3 and Linux 2.6

And let's not even get into the environmental differences between Insipid and Blech.

Today was not a fun day (and I never did figure out why the code doesn't work—I may leave that up to the customer to figure out).

[1] /boston/2005/03/25.1

Gemini Mention this post

Contact the author