title: Issue running unoconv from php script with shell_exec
body: <p>I am unable to use unoconv to convert a .doc to PDF from php using exec.  Here is what I am trying:</p>
  
  <pre><code>$output = exec("unoconv /opt/bitnami/apache2/htdocs/=".$fileData['name']);
  error_log(print_r($output, TRUE));
  </code></pre>
  
  <p>This command, when run in the console works perfectly, but when run through php, it gives the following in the error logs:</p>
  
  <pre><code>python: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by python)
  python: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by python)
  Aborted
  [Thu Mar 28 20:13:58.312843 2013] [:error] [pid 1481] [client ***] 
  </code></pre>
  
  <p>I don't think the first two lines are relevant, and I'm not sure how to get more information on why it aborted.  I also have tried running it using this wrapper stored in /usr/local/bin/unoconv.sh</p>
  
  <pre><code>#!/bin/bash
  
  if [ -z "$1" ]; then
      echo "Must pass file";
      exit 10;
  fi
  
  /usr/bin/unoconv -f pdf $1.rtf
  </code></pre>
  
  <p>But that gives the error</p>
  
  <pre><code>python: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by python)
  python: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by python)
  /usr/local/bin/unoconv.sh: line 8:  2886 Aborted                 /usr/bin/unoconv $1
  [Thu Mar 28 20:17:05.331830 2013] [:error] [pid 1188] [client ***]
  </code></pre>
  
  <p>Any ideas on what else to try?  Thanks for your help</p>