title: Could not create PDF: sh: wkhtmltopdf: command not found
body: <p>Just having some trouble with wkhtmltopdf. It works fine in command line but in PHP I keep getting this error: </p>
  
  <pre><code>Could not create PDF: sh: wkhtmltopdf: command not found.
  </code></pre>
  
  <p>It does work after a stop and restart of Apache, but it stops working after a couple of hours.</p>
  
  <p>This is the current configuration:</p>
  
  <pre><code>phpwkhtmltopdf - latest version 
  CentOS 5.10
  wkhtmltopdf 0.12.1
  </code></pre>