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.
PHP exec running old version of IM/convert
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/