[nycphp-talk] Active Persistent Links..
Rolan Yang
rolan at omnistep.com
Fri Aug 18 11:22:27 EDT 2006
The command to look for is mysql_pconnect. If you need to change code,
you will likely need to change more than just the pconnect. It's
probably safe and easier to enable it in the php.ini
~Rolan
Nick wrote:
> I am in the process of moving a site that contains a lot of php with
> mysql. I was getting some errors that led me to the fact that the
> php.ini values for the old site were: mysql.allow_persistent =ON, Active
> Persistent Links = 2, Active Links = 2. For the new site, these were:
> mysql.allow_persistent=OFF, Active Persistent Links = 0, Active Links = 0.
>
> Does anyone know the "correct/safe or standard" values for these
> settings and what I need to look for in my code when changing this from
> ON to OFF. The errors I receive are per a class called 'user' which
> refers to data in a mysql table of the same name. I realize this is
> somewhat vague but any thoughts or recommendations would be much
> appreciated. Thanks.
>
>
More information about the talk
mailing list