[ciapug] PHP 4 to 5

Ron Mutchler, ZCE qsecofr at gmail.com
Wed Nov 23 08:25:32 CST 2005


Another thing to watch out for is $this usage.  In PHP5, $this is now
reserved and it will cause some issues.  You will typically see the
following error when that occurs:
Fatal error: Cannot re-assign $this in /path/to/script.php on line 146.


On 11/23/05, Jerry Heiselman <jweida at gmail.com> wrote:
> One of the problems you may experience is actually with the move to
> mysql 5.  They changed the hashing algorithm for the password()
> function and that broke a lot custom-made applications that used this
> function even though the MySQL documentation advises against this.  If
> you run into this problem, then you can either modify your code to
> call old_password() or modify your my.cnf file with a command that
> overrides the default password function (I believe that it's something
> like password=old_password.)
>
> Jerry
>
>
> On 11/23/05, Dave J. Hala Jr. <dave at 58ghz.net> wrote:
> > Were you running alot of "in-house" applications?
> >
> > On Wed, 2005-11-23 at 07:28, Chris Van Cleve wrote:
> > > I didn't have any issues moving from 4 to 5. It was smooth and
> > > painless. :)
> > >
> > > Chris VC
> > >
> > > On Nov 23, 2005, at 7:19 AM, Dave J. Hala Jr. wrote:
> > >
> > > > Does anyone have any experience taking PHP apps written in PHP4 and
> > > > running them on a server with PHP5?
> > > >
> > > > Did they run?
> > > >
> > > > I'm considering moving from php-4.3.2-25.ent, and
> > > > mysql-3.23.58-15.RHEL3.1 to RHEL 4, with PHP 5 and mysql 5 at the
> > > > start
> > > > of the next fiscal year.
> > > >
> > > >
> > > >
> > > > :) Dave
> > > >
> > > > --
> > > >
> > > > Open Source Information Systems, Inc. (OSIS)
> > > > Dave J. Hala Jr., President <dave at osis.us>
> > > > 641.485.1606
> > > >
> > > > _______________________________________________
> > > > ciapug mailing list
> > > > ciapug at cialug.org
> > > > http://cialug.org/mailman/listinfo/ciapug
> > > >
> > > >
> > >
> > > _______________________________________________
> > > ciapug mailing list
> > > ciapug at cialug.org
> > > http://cialug.org/mailman/listinfo/ciapug
> > --
> >
> > Open Source Information Systems, Inc. (OSIS)
> > Dave J. Hala Jr., President <dave at osis.us>
> > 641.485.1606
> >
> > _______________________________________________
> > ciapug mailing list
> > ciapug at cialug.org
> > http://cialug.org/mailman/listinfo/ciapug
> >
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug
>


More information about the ciapug mailing list