ImageMagick is installed on all Ultra Web Hosting servers and is available for image processing from PHP scripts, Perl, and command-line tools.
/usr/bin/convert
The main ImageMagick binary is at /usr/bin/convert. Other ImageMagick tools like identify, composite, and mogrify are in /usr/bin/ as well. If an application asks for the "ImageMagick directory," enter /usr/bin.
01. Common ImageMagick Paths
- convert:
/usr/bin/convert - identify:
/usr/bin/identify - composite:
/usr/bin/composite - mogrify:
/usr/bin/mogrify - ImageMagick directory:
/usr/bin
02. Using ImageMagick in PHP
PHP's Imagick extension provides a native interface to ImageMagick without needing to call the command-line tools. This is the recommended approach:
<?php
$image = new Imagick('input.jpg');
$image->resizeImage(800, 600, Imagick::FILTER_LANCZOS, 1);
$image->writeImage('output.jpg');
?>
The Imagick extension is available on our servers. You can verify it is loaded by checking phpinfo() for the "imagick" section, or by running php -m | grep imagick via SSH.
For all server paths including PHP, Perl, Python, and other tools, see Server Paths - PHP, Perl, Python and More.
Need a Specific Module?
If you need a server module or library installed, see How to Request a Server Module Installation.
Open a Support TicketFrequently Asked Questions
Is ImageMagick available on UWH hosting?
Yes. ImageMagick is installed on all our servers and available to PHP scripts, Perl, and command-line tools for image processing such as resizing, converting, and thumbnails.
What is the path to ImageMagick?
The convert and related binaries are in the standard system path, typically /usr/bin/convert (and /usr/bin/identify, /usr/bin/mogrify). You can confirm the exact path from an SSH shell with which convert.
How do I use ImageMagick from PHP?
Use the Imagick PHP extension if it is enabled for your PHP version (check under Select PHP Version in cPanel), or call the convert binary via a shell function where allowed. Imagick is the cleaner option since direct shell execution is restricted on shared hosting.
How do I find the exact ImageMagick path myself?
From an SSH shell run which convert or whereis convert to print the exact location on your server. This is the most reliable way to get the path for a script or application configuration.
Quick Recap
- ImageMagick path:
/usr/bin/convert - Directory:
/usr/bin - PHP Imagick extension is available for native PHP integration
- All tools in /usr/bin - convert, identify, composite, mogrify
- See Server Paths article for other binary locations
Server tool paths · Last updated November 2026 · Browse all PHP/MySQL articles
