Upgrading From PHP4 to PHP5
Saturday, January 12th, 2008Again, I read the writing on the wall.
One of the companies that created some of my website applications recently put a web poll in their forum. They asked how we users feel about having the next upgrade (and every one thereafter) only work with PHP5 and up on our web servers. I didn’t know what to think. I believe I was running PHP 4.3.8 on a few of the servers and some other version of 4 on the other servers. I didn’t know how all of my 30+ websites would respond to a PHP upgrade.
To find out, I did a little configuring in the .htaccess files on two of my websites. By doing this, I automatically brought the version up to PHP 5.2.4. If things blew up, I could easily bring the version back down to PHP4 by taking that line of code out of the .htaccess file.
Well, I tried it out and everything worked fine, except for two little files that an outsourced developer created for me. I contacted him and he fixed the issue rather quickly. Since I knew things would be ok, I went ahead and had one of my other servers upgraded to PHP 5.2.5.1. After the upgrade, everything worked fine on all my websites.
So, what is the difference between PHP4 and PHP5? You can click here to find out.
