title: sh: /usr/bin/pdftk: No such file or directory
body: <p>I am trying to extract PDF form details using <a href="https://www.pdflabs.com/tools/pdftk-server/" rel="nofollow noreferrer">PDFTK</a> sever but I am getting an error <code>sh: /usr/bin/pdftk: No such file or directory</code> when executing from PHP with help of <code>exec</code> and <code>exec_shell</code> both function. I tried with full path but still shows me the same error.</p>
  
  <p>I have tried with setting envput() function but no luck.</p>
  
  <p>below is command which is executing from PHP <code>exec</code> and <code>exec_shell</code> functions, this command worked expected when execute it from terminal (OS : CentOS).</p>
  
  <pre><code>/usr/bin/pdftk /home/www/public_html/webroot/tmp/client_import_form_filled.pdf dump_data_fields_utf8 2&gt;&amp;1
  </code></pre>
  
  <p>I am expecting PDF form extracted data as below</p>
  
  <pre><code>FieldType: Text
  FieldName: ClientFirstName
  FieldFlags: 2
  FieldValue: Kevin
  FieldJustification: Left
  </code></pre>