Re: Can GD make a JPG thumbnail of a PDF?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If system("convert -version") does nothing, it is probably erroring out.

Mess around with exec and using 2>&1 to try to get the error message.

It's going to boil down to paths and permissions.

The PHP user probably doesn't have convert in $PATH.

Use a FULL PATH for system/exec calls for *any* path, and within *any* script being called.

Anything else is just a time bomb waiting to blow up on you.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux