I use siteground as my host. They tell me ghostscript is loaded and the absolute path to the binary executable is "/usr/bin/ghostscript". They also tell me imagemagick is loaded and the path to the binary is "/usr/bin/".
What I need is a sample php script that allows me to convert XXX.pdf to XXX.png on the server using one of these two tools. Siteground is proving useless in supplying me with any samples even though they told me they had some when I signed up.
Has anyone ever done this?