On Fri, 2008-01-18 at 11:10 -0500, A. Khattri wrote:
> So if we had waited we wouldn't have gone through the pain of 
> upgrading servers to PHP5

The upgrade is reasonably painless.  _Most_ code written for PHP4 will
run transparently on PHP5, assuming you have your php.ini files well
coordinated.  Going forward, there are a number of very nice
enhancements in PHP5, notably a substantial improvement in OOP support.

You can also run both PHP4 and PHP5 at the same time and switch over on
a per-virtual server basis, so if you host lots of websites you don't
have to worry about possibly breaking all of them at once.  The only
limitation here (which is an apache limitation, I think) is that either
v4 or v5 must run as CGI, which means that you can't use php_value
settings in a .htaccess file for the CGI version.

It's always a pleasure to work with well designed code.

-- 
Lindsay Haisley       | "In an open world,    |     PGP public key
FMP Computer Services |    who needs Windows  |      available at
512-259-1190          |      or Gates"        | http://pubkeys.fmp.com
http://www.fmp.com    |                       |


-- 
[email protected] mailing list

Reply via email to