title: Turn off warnings and errors on PHP and MySQL
body: <p>I am getting expected notices and warnings and would like to turn them off in my PHP file. The error is:</p>
  
  <pre><code>Warning: fsockopen()
  </code></pre>
  
  <p>And the notice are:</p>
  
  <pre><code>Notice: A non well formed numeric value encountered in
  </code></pre>
  
  <p>I am planning to use cron for this PHP script and do not want to get any errors or notices logged anywhere.</p>