PHP exec running old version of IM/convert

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
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

probably not a good idea, unless you know why the old one was installed.

You can set a PATH in PHP to define the order in whcih to search for the external commands. It may be /usr/local/bin is not even on the default path. Or you can hardcord the IM command path in your convert calls, or store it in a variable that can be modified at the top of the script.

All this however is not a IM problem but a system or PHP problem.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply