What is the Path to ImageMagick?

PHP/MySQL | Updated 2026

ImageMagick is installed on all Ultra Web Hosting servers and is available for image processing from PHP scripts, Perl, and command-line tools.

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 Ticket

Quick Recap

  1. ImageMagick path: /usr/bin/convert
  2. Directory: /usr/bin
  3. PHP Imagick extension is available for native PHP integration
  4. All tools in /usr/bin - convert, identify, composite, mogrify
  5. See Server Paths article for other binary locations

Server tool paths · Last updated March 2026 · Browse all PHP/MySQL articles

  • 622 Users Found This Useful

Was this answer helpful?

Related Articles

How to Parse HTML as PHP

PHP/MariaDB/MySQL | Updated March 2026 By default, Apache only processes files with a .php...

PHP system exec Functions Disabled on Shared Hosting

PHP/MariaDB/MySQL | Updated March 2026 The error "Warning: system() has been disabled for...

Cannot Connect to MySQL on Port 3306

PHP/MariaDB/MySQL | Updated March 2026 If you're getting connection errors when trying to...

How do I backup a MariaDB - MySQL Database?

PHP/MySQL | Updated 2026 Backing up your database is essential before making changes to your...

Test MySQL Connection

PHP/MySQL | Updated 2026 If your website shows database connection errors, you need to verify...



Save 30% on web hosting - Use coupon code Hosting30