Date: Tue, 09 Oct 2007 08:12:51 -0500 From: Kevin Kinsey <kdk@daleco.biz> To: Olivier Nicole <on@cs.ait.ac.th> Cc: beech@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Upgrade of PHP4 Message-ID: <470B7E53.3000208@daleco.biz> In-Reply-To: <200710090341.l993fxqw045888@banyan.cs.ait.ac.th> References: <200710090316.l993G3VA045316@banyan.cs.ait.ac.th> <200710081922.23228.beech@freebsd.org> <200710090341.l993fxqw045888@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
Olivier Nicole wrote: > > Thanks, now that lads to the second question, what will I break when > updating? What should I be carefull about? I have several servers, > managing quite many sites, with a lot of home made pages... I would perhaps do a "test build", and make notes of the steps for the upgrade, to try and ward off "breakage" in the build/install process. Otherwise, PHP5 should be completely backwards compatible with PHP4, with a few notable "switches" that have been adjusted. One thing we noted was that the short tag (<?) was now deprecated*, and there were lots of instances of it being used. In particular, the "short tag echo" construct: <foo html here <?=$bar ?> close html> It wasn't too handy to have all those variables suddenly disappear from the HTML forms. OTOH, it's fairly trivial to replace with some scripting work, IIRC. But, that could depend on the number of servers/sites, as you observe. Kevin Kinsey * "deprecated" might not be the right word; it's now OFF by default, and I guess you can turn it on, but the possibility of conflict with XML contraindicates that... -- Do you think theres a God?" "Well, SOMEbodys out to get me! -- Calvin and Hobbs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?470B7E53.3000208>