PHP Sucks on Backward Compatibility (or How ‘Gallery’ and PHP 5.3 Don’t Play Nice)
s a bit of a dinosaur in technology (I still use a Palm PDA and single- or dual-core AMD), backward compatibility and long-term support are important to me. I am not a fan of PHP even though many programs that I like (the latest being Roundcube) use it almost exclusively.
Many problems seem to occur for those who use old versions of Gallery with the latest PHP, which has become notorious for its backward compatibility deficiencies. One bit of software that I use which is not compatible with PHP 5.3 is Gallery 1.x. It’s a version that I hacked a bit to suit my purposes, so upgrading would flush all my customisations away. Whether a sandboxed compatibility mode is available (such that, e.g., PHP 5.2 is run for specified paths) I do not know yet, but based on what people are saying suppressing the warnings and errors should be possible. It’s not a real solution but a cosmetic hack. If your Web host undergoes a PHP upgrade to 5.3 it can lead to lots of issues associated with out-of-date software. “A short time ago,” wrote my host (with which I host about 10 domains), “we emailed you to let you know that we were upgrading all our servers to the latest version of PHP. This is now complete. We therefore recommend you have a quick check of your site and ensure everything is working as it should.”
The bottom line is, from my personal point of view, is that PHP yet again proves that backward compatibility is too much for it to handle and, as such, one oughtn’t rely on long-term usage of programs written in PHP. Other authors pointed this out before. It’s quite the blunder. In Web-based environments in particular, a case of “lose compatibility or get cracked” may become more common if we become dependent on PHP.






Filed under:
ne of the problems that’s leading to the cracking of many Web sites is that software is not kept up to date. It is not an easy task unless the process is made simple and at times automatic because people are adverse to change and to risk (associated with updating software, never mind the risk of getting cracked). Keeping abreast of security fixes and new upgrades for Web-based software is not easy unless one uses an operating system like Debian, which can be updated regularly and has strict requirements for inclusion. There are several points worth making here:
EVERAL months ago I joined Diaspora and enjoyed the good uptime of the service. The community was thriving, everyone was friendly, and the site reacted to input as one would expect. But then, just like Identi.ca, the site began having performance and uptime issues. At one point the site was down for a week. People soon lost those withdrawal symptoms and perhaps just moved on; some returned only to see sporadic operation of the site, which fairly enough is still in alpha (the software it runs is). But the bottom line is, in the early days people reviewed the site harshly for technical shortcomings. Now it’s just the really terrible uptime and low reliability. Unless this gets fixed the site is likely to lose its most ardent supporters and participants.
IKE most people on that site, I joined LinkedIn several years ago after a friend had invited me. For many years I did nothing with the account, but in more recent years the site grew rapidly in terms of popularity and is now a status symbol by some people’s imagination. It’s a bit like Facebook for professionals. But what really is that point of it all? It’s all rather superficial and the process of connecting to peers and friends (or ex-colleagues) is very time-consuming. When one considers what can be gained from having one’s name in a database associated with many other names, then the reality of the matter becomes clearer. Have we come to a point in the lifecycle of the Internet where we score people’s popularity based on the hours they dedicate to clicking to modify some proprietary database of some private company? Frankly, I stopped spending time in LinkedIn and my profile there is very much outdated (last updated properly in 2006). Can there finally be consensus on the irrelevance of public profiles that are merely the entry in someone else’s Web site? It’s just a MySpace for adults and the function is tracking other people’s careers is often overstated as crucial. It’s more like gossip or stalking.
HE more we move forward, the more we stay the same and sometimes step back. The Internet was created to facilitate the use of one’s space and one’s own material, but in this age of mashups and ‘free’ hosting by so many companies, a lot of people simply subscribe to be a guest at someone else’s platform, thus conceding of the main features of the World Wide Web.
Sadly, many businesses rely on companies such as Yahoo and Google, which manage their advertising and connect them with the advertiser. Both ends are customers — the advertiser and the service. The middman gains the most. It is hard to compete with companies such as Yahoo and Google when they in fact make pure profit from advertising. It is almost as though any business that uses a middleman for advertising is sharing the revenue with a competitor. The margins simply cannot be compared.
According to an article that I recently read, the Internet could one day be broken down into