title: Get many connection using mysql_pconnect()
body: <p>I am using mysql_pconnect() for connecting to mysql.
  But when many users uses the website it gives the error "To many connection with mysql".</p>
  
  <p>For that i had set the variables
         max_connections=500 
         max_user_connections=1000 
     in my.cnf file of mysql.</p>
  
  <p>Is this fine to use or is there any other way to solve this problem ("To many connection with mysql").</p>
  
  <p>I am using the xampp for php and mysql.</p>