PHP Exec Command on Convert
Posted: 2010-07-19T12:45:40-07:00
I am attempting to convert PDFs to TIFs via the PHP exec command using convert
The command works just fine from the command line; I get nothing from PHP ... no errors, nada ...
We are on:
IIS 6.0
PHP 5.2.13
Any help appreciated ...
This is a piece of sample code I am attempting to execute:
The command works just fine from the command line; I get nothing from PHP ... no errors, nada ...
We are on:
IIS 6.0
PHP 5.2.13
Any help appreciated ...
This is a piece of sample code I am attempting to execute:
Code: Select all
$exec_image = 'C:\ImageMagick\convert ' .$_SERVER['DOCUMENT_ROOT'].'/mq_dev/NCPR080411.pdf '.$_SERVER['DOCUMENT_ROOT'].'/mq_dev/NCPR080411.tif;
exec($exec_image, $returncode);
echo $returncode;