attempting to use imagemagick, blank page
<p>So today after snooping around on stackoverflow I found out about <code>imagemagick</code> and it looks awesome. Keep in mind I just discovered this today and I've been messing around trying to get it work for me for a couple hours but to no avail, so I could really use some guidance.</p>

<p>I asked my hosting company and I checked the terminal and I do have it.</p>

<p>Through PuTTY I ran:</p>

<pre><code>whereis convert
</code></pre>

<p>Which spit me out:</p>

<pre><code>convert: /usr/bin/convert /usr/share/man/man1/convert.1.gz
</code></pre>

<p>And then to double check:</p>

<pre><code>/usr/bin/convert --version
</code></pre>

<p>Which gave me:</p>

<pre><code>Version: ImageMagick 6.7.2-7 2015-07-29 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: Open MP
</code></pre>

<p>So in my public_html I created a file called test.php in which I put:</p>

<pre><code>&lt;?php
    try
    {
        $cmd = "public_html/account/archives/emails/2015/November-Email.pdf";
        exec("usr/bin/convert $cmd");
    }
    catch(Exception $e)
    {
        die('Error when creating a file: ' . $e-&gt;getMessage());
    }
?&gt;
</code></pre>

<p>When I run <code>test.php</code> it just shows a blank screen so clearly somethings wrong as not even the Error message is showing.</p>