Re: [Phplib-users] phplib 6.1, php3 and php4
Brought to you by:
nhruby,
richardarcher
From: Michael C. <mdc...@mi...> - 2002-01-22 07:01:10
|
On Mon, Jan 21, 2002 at 11:50:35PM -0600, Lindsay Haisley wrote: > I run professional online web services, some of them mission critical for a > number of customers. I use Debian GNU/Linux v2.2, apache 1.3.9, php3 and > phplib 6.1 - all of which are standard issue in Debian 2.2. I would like to > upgrade php to v4.0.3 (the latest version in Debian's stable dist) to take > advantage of a number of features in v4. What kind of problems, if any, > will I run into w. phplib in such an upgrade? First, I don't care what version is in Debian's stable dist, 4.0.3 has a number of significant bugs and security holes. Apache 1.3.9 probably needs patched (we're up to 1.3.20 now), and phplib is up to 7.2d. With PHP, you need to always download the very latest version straight from the tap, so to speak. And keep it updated. You need to learn how to build Apache + PHP + MySQL support + mod_ssl by yourself, make a script to do it. With that out of the way, what features of phplib do you use? For sessioning, PHP4 has built-in sessioning which is far faster than the phplib sessioning. If you don't have the latest version of phplib, you will have problems due to a couple of new "features" in php4. The version of phplib that you have probably also has a pretty major security vulnerability which was discovered recently. Note that php4 is, at the very least, 5 times as fast as php3. Even moreso if you get the Zend optimizer. It's not unusual to see an order of magnitude speed difference, so it'll be like you're getting a new computer. Michael -- Michael Darrin Chaney mdc...@mi... http://www.michaelchaney.com/ |