Re: Upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It really depends on your situation. 
We are an ISP hosting lots of website. Upgrading from 4 to 5 means a lot of 
sites will have trouble. 
Personally I have some problem of upgrading from 4 to 5. 

The below codes work on 4:

include("DB/DataObjects.php");
$pro = DB_DataObject::factory('Product');
$pro->find();
while($pro->fetch())
   $allPro[] = $pro;  

But on 5, it has to be modified to
include("DB/DataObjects.php");
$pro = DB_DataObject::factory('Product');
$pro->find();
while($pro->fetch())
   $allPro[] = clone $pro;  

The above is only an example. So upgrading to 5 is not an option for us.

--
Ben
Web Design Shropshire, Software programing
http://www.sparkcomputing.co.uk

On Friday 21 Sep 2007 13:43, Zoltán Németh wrote:
> 2007. 09. 21, péntek keltezéssel 08.16-kor Ed Curtis ezt írta:
> > I'm currently running Debian Woody with PHP 4.1.2 installed by default. 
> > It's really stable and I like it alot. Would I run into any problems 
> > upgrading it to say 4.3.0. There are some functions I need in it that 
> > 4.1.2 doesn't have. I'm not ready to make the jump to PHP5 yet. I've 
> > tried it on a test server and have run into a couple of problems with 
> > the upgrade.
> 
> I really don't think you should upgrade to 4.3.0 instead of going php5.
> All versions of php4 are discontinued from the end of this year, see
> php.net
> If you insist on 4.3.0, I don't know of any problems with upgrading to
> it, but pay attention to all the extensions - upgrade them also if
> needed, etc...
> 
> greets
> Zoltán Németh
> 
> > 
> > Thanks,
> > 
> > Ed
> > 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux