Commandline Working. PHP Exec not.

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?".
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Commandline Working. PHP Exec not.

Post by Bonzo »

I have always had somebody install this for me and so have not had the problem :?
JRozee

Re: Commandline Working. PHP Exec not.

Post by JRozee »

Haha, yeah. I think I've tracked the issue down...

Commandline runs the latest version of GS however PHP uses an older version (2006 version)

But what to do from here is something else!
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Commandline Working. PHP Exec not.

Post by anthony »

Is this a Redhat or fedora System.

If so check the logs, and see if the SELinux network protection is trying to 'protect you'.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
bentoo

Re: Commandline Working. PHP Exec not.

Post by bentoo »

I was able to get this to work by running PHP in FastCGI instead of SuPHP.
Post Reply