ImageMagick is not working with php EXEC function

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
sanojmn

ImageMagick is not working with php EXEC function

Post by sanojmn »

We have two fedora 8 systems (with same configuration) for pdf to png conversion. one is having ImageMagick 6.3.5 and other is ImageMagick 6.4.9-9. In the first server (where we installed ImageMagick 6.3.5) conversion is working properly. But in the second server (where we installed ImageMagick 6.4.9-9) the php EXEC function is not executing, but manually its working fine, and we are getting the status =>1. It means the function is not working .. correct ??. and the code we are using in both servers are same. Please check the command we are using for converting below.

/usr/local/bin/convert -quality 50 -depth 5 -density 100 /home/www/public_html/uploads/82/sample.pdf /home/www/public_html/converted/588/page.png


This is my ImageMagick 6.4.9-9 configuration file details

Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -W -pthread
CONFIGURE ./configure
COPYRIGHT Copyright (C) 1999-2009 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES freetype png zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem= no --with-autotrace=no --with-fontconfig=no --with-gslib=no --with-fontpath= --w ith-rsvg=no --with-xml=no
EXEC-PREFIX /usr/local
HOST i686-pc-linux-gnu
LDFLAGS -L/usr/local/lib -L/usr/local/lib -lfreetype -lz
LIB_VERSION 0x649
LIB_VERSION_NUMBER 6,4,9,9
LIBS -lMagickCore -lfreetype -lz -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2009-03-18
VERSION 6.4.9
WEBSITE http://www.imagemagick.org
Post Reply