I have same problem
I install imagemagic at server.
and I can run
convert test.pdf[0] test.jpg and runs fine. and get screen shot of the first pdf file.
login as: root
root@x.xx.xx.xxx's password:
Last login: Wed Nov 2 15:55:35 2011 from 184.18.153.10
[root@server11 ~]# convert -density 300 -quality 100 /var/www/clients/client1/web1/a.pdf[0] /var/www/clients/client1/web1/test1.jpg
Or
convert -density 300 -quality 100 /var/www/clients/client1/web1/a.pdf[0] /var/www/clients/client1/web1/test1.jpg
I cannot run under website with php
I tested in my other cpanel server and works fine. But not ISPCONFIG.
shell_exec function is enabled in php.ini
e.g sample php command
if($file_type == "pdf")
{
shell_exec("convert -density 300 -quality 100 /var/www/clients/client1/web1/web/files/test.pdf[0]
"/var/www/clients/client1/web1/web/thumbs/test.jpg 2>&1");
Recent comments
22 hours 10 min ago
22 hours 16 min ago
1 day 3 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 16 hours ago
1 day 22 hours ago
2 days 2 hours ago
2 days 4 hours ago