Perfect in command line but problems in my php script

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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Its Ghostscript that is failing in your PHP script. Your PHP environment is different than your command line environment. One thing to look for is two different versions of Ghostscript (gs) installed on your system. Another is permission problems. You could try running Ghostscript in your PHP script without ImageMaigck and see if that fails. Once you get Ghostscript working within a PHP script, ImageMagick should then work.
Post Reply