Conversion problem with PHP

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
sanojmn

Conversion problem with PHP

Post by sanojmn »

Hi.,,

I have problem with ImageMagick. If I do manually using putty conversion is working. But through php its not working.

Actually It was working fine. 2 days before we formatted our server and reinstalled the OS (Fedora 7) and ImageMagick(VERSION 6.3.8). After this ImageMagick conversion is not working using PHP code. Otherwise it is working fine (Mannually). There is no problem with php code, it was working fine.

Here below you can see my list of configuration. I dont know anything is missing there for PHP.

Name Value
-------------------------------------------------------------------------------
CC gcc
CFLAGS -g -O2 -Wall -W -pthread
CONFIGURE ./configure
COPYRIGHT Copyright (C) 1999-2008 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib freetype jpeg png zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecate --with-quantum-depth=16 --with-djvu=no --with-umem=no --with-fontpath= --with-fontconfig=no --with-lqr=no --with-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 0x638
LIB_VERSION_NUMBER 6,3,8,11
LIBS -lMagickCore -lfreetype -ljpeg -lbz2 -lz -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 01/21/09
VERSION 6.3.8
WEBSITE http://www.imagemagick.org


So... Please help me to solve this issue.
sanojmn

Re: Conversion problem with PHP

Post by sanojmn »

Hi all..

Problem Solved.. First I did yum install ImageMagick... then I installed the Imagemagick from the main ImageMagick folder

like ./configure

make

make install

thanks

sanoj
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Conversion problem with PHP

Post by anthony »

Instructions for building your own version of ImageMagick RPMS
(which I use all the time for fedora), is given in the last section on

IM Examples, API's Scripts, and building
http://www.imagemagick.org/Usage/api/#building

this was recently updated to produce a cleanr environment.

You do NOT need to be root (and probably shouldn't be) to build ImageMagick RPM's You only need root access for system installation.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply