[ciapug] PHP 4 to 5

David Champion dave at visionary.com
Wed Nov 23 11:31:35 CST 2005


There has been some discussion that you should really never use the 
password() function for passwords... it's meant to be used for mysql 
passwords, and not for userland password functions.

-dc

Jerry Heiselman 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