title: Is there a way to change wait_timeout and max_allowed_packet through PHP?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5688403/how-to-check-and-set-max-allowed-packet-mysql-variable">how to check and set max_allowed_packet mysql variable</a>  </p>
  </blockquote>
  
  
  
  <p>I am having some database issues and I want to increase my <code>max_allowed_packet</code> timer and decrease <code>wait_timeout</code>. Is there a way to set it through PHP like <code>ini_set ( 'memory_limit', '32M' );</code> or something similar ?</p>