Persistent connections

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • djn
    Senior Member
    • Mar 2004
    • 140

    #1

    Persistent connections

    Hello all.

    A big thank you to Andrew for PHP5!

    While getting ready to play with it I took a look at phpinfo() for PHP5 and noticed that MySQL persistent connections are 'On ' per default (on cpanel17 at least). As I remember there was some time ago a strict policy not to use them (ok, some years ago, if I remember well) I'm just curious if this just slipped by or has the policy changed somehow.
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    We still do not allow persistent connections.

    The default PHP settings still have them disabled on all servers.

    But if you have a custom php.ini file these may revert to something different and you could in fact even enable them yourself. However, it is still something that we do not allow.

    Comment

    • djn
      Senior Member
      • Mar 2004
      • 140

      #3
      I was just curious about what version of PHP5 it was, so I just dropped a phpinfo() in a new folder and edited .htaccess to use PHP5, no other config added. That's why I asked if it was something that slipped under the radar: the 'On' I saw came straight from the default.

      Comment

      • AndrewT
        Administrator
        • Mar 2004
        • 3655

        #4
        It is still set to OFF by default and should still be that way so long as you do not have a php.ini file existing in the directory of the script or in the public_html directory of th e domain. I can take a look at it but you'll need to provide a URL (PM or ticket for this please).

        Comment

        Working...