ImageMagick is available on Loopia’s newer UNIX servers, together with GhostScript, so you can manipulate images and process PostScript or PDF content from your PHP scripts. This article shows how to ensure the binaries are reachable from your script’s environment by extending the PATH at runtime.
ImageMagick and GhostScript availability
On the newer UNIX servers we have ImageMagick installed, as well as GhostScript.
Making the binaries available to your script
To use these tools you may need to add the following line to your script so that /usr/local/bin is included in the executable search path:
putenv('PATH='.getenv('PATH').':/usr/local/bin');