So PHP 5 has been out for 2 years now, and I tried to upgrade to it last year. I found out the hard way that several of my sites do not work at all with PHP5 and I had to downgrade.
Can anyone tell me if it's bad that I'm still running PHP4 on my server/sites. Is there any good reasons for me to have my sites retrofitted to run on PHP5?
Any problems with running PHP4 and 5 at the same time on the same server?
Thanks
Comments
It seems to me that there isn't a great deal of difference in the commands more in how they are parsed.
PHP 5 has many advantages such as better support for OOP style programming and improved execution speed, but it also suffers as not all PHP 4 code will run under PHP 5 without some rewriting and if you don't know the way to do it in PHP 5, it can be annoying.
If you were building an entirely new site for someone, there'd be little reason not to go for PHP 5 unless you were using some kind of snippet repository (come on, no half decent coder can say they haven't reused code at some point).
Personally, I have PHP5, but that's just because it happens to be what came with my Linux install, not that I actually write much PHP code these days as I'm quite attached to Rails at the moment.
Current project: CMS Object.
Most recent change: Theme support is up and running... So long as I use my theme resource loaders instead of that in the Rails plug-in.
Release date: NEVER!!!
Half of my site is the same code over and over again lmao