1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mysql.allow_persistent

Discussion in 'General Discussion' started by big_bull, Oct 29, 2009.

  1. big_bull

    big_bull Member

    Joined:
    Nov 19, 2006
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    On shared server environment what value should be set for mysql.allow_persistent

    Whether it should be enabled OR not, what will be the effect on server load?

    Confused :(
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,558
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    Are you referring to the option ("mysql.allow_persistent") that is defined in a PHP configuration (php.ini) file?

    Changing settings has the potential to affect server load, included in this could be a positive benefit or a negative effect. Disabling the specified option means that a PHP script could not open a persistent connection to MySQL, where the connection stays "open" and does not immediately close upon completion of the MySQL query. Whether or not this may be desired is dependent upon the unique administrative policies of those managing the server (e.g., your Systems Administration team).
     
  3. big_bull

    big_bull Member

    Joined:
    Nov 19, 2006
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Thanks !

    Yes, I am talking about settings in php.ini
     

Share This Page