hi, i have managed to install imagemagick on CentOS 64 finally, and i want to post the commands i used to help other people because i know many have problems with this,
but i have a problem now, commands work from the command line in linux, but not from PHP,
imagemagick seems to be in the path because i can execute it from any directory in the command line, so is it then a permissions problem?
anybody can help me, do i have to give special permissions to the php internet user and if so how do i do that? how do i let the php scripts execute imagemagick in linux?
as i say, from command line it all works well now, its just php scripts that cannot make it, thank you for any help and i post here below the commands i use to build image magick on centOS successfully
yum install tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel wget url to ImageMagick download
wget ftp://ftp.imagemagick.org/pub/ImageMagi ... yourversion.tar.gz
tar xvfz /ImageMagick-yourversion.tar.gz
cd (the folder)
./configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
make clean
make
make install
Linux PHP access to image magick permission
-
javismiles
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
- Contact:
-
javismiles
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
- Contact:
Re: Linux PHP access to image magick permission
for those with same problem
it was the writing permissions for user apache
it was the writing permissions for user apache
Who is online
Users browsing this forum: No registered users and 4 guests