I finally took the plunge to PHP5! I learned 1 very important lesson that anyone coding in PHP or administering servers running PHP should know. NEVER EVER EVER upgrade to the latest version if you are running Zend*. Zend lags the php releases by a few days. In my case, I am using ZendOptimizer. The latest version 2.5.10a does not work with PHP 5.1. There is a hint that 2.5.13 is in the works if you know where to look but I could only find the FreeBSD version. So after tinkering for a couple of hours I dropped back to the 5.0.x tree.
Oh, also, when moving from 4.x to 5.x, I had to uninstall and reinstall a pecl extension I had. Upgrade won’t work because pecl thinks it knows better. Why would you want to rebuild the version that is already there? (grrrr) Since there is no force option, I did the only thing I could think of…uninstall and reinstall.
Anyhow, for those of you curious, current versions of DirectAdmin and Installatron work with 5.0.x. (Granted I’ve not done much in the way of testing but they do come up.)
Squirrelmail is hopelessly hosed though. (That’s why I’m not reading my email right now)
Anyhow, back to the grind.
Until next time, I’m counting down the days.
PHP Console Mode
This rocks more than anything I’ve seen added to PHP in some time.
I grew up programming FoxPro. One of the great things about FP/VFP was the command window. Just fire it up and start issuing commands. It was wonderful. You could easily get things done, test new ideas, even check syntax. SideNote: I got in trouble at a previous job because a lot of what I did was in the command window and not in prg files. Now the company they replaced me with can’t figure out how to do simple tasks like data analysis. (Guys, I’m sorry you can’t find a competent programmer to replace me. Next time, don’t make such rash decisions)
Anyhow, this is going to be da bomb and my killer reason for switching to PHP5.
Until next time, have a wonderful day.
2 quickies for all you PHP junkies out there.
1: Nashville PHP Users Group Ironically, my boss, who lives in San Jose, CA showed me this. Gotta make the next meeting. As part of this one PHP Podcast The second one, “Conversation with Wez Furlong” was pretty interesting. (If a bit long, it might have been better as maybe 3 conversations with Wez)
2: Anyone toying with AJAX? (yea, I know, PHP is not front end but AJAX has to talk to something.) Here’s are 2 pretty cool articles Part 1 and Part 2
Until next time, have a safe flight.