yum install php-devel ImageMagick ImageMagick-devel pecl install Imagick don't forget to add this to php.ini extension=imagick.so and then service httpd restart ===================================================================================================== Adding custom entries to DirectAdmin open_basedir for a domin To add custom entries to a domain's open_basedir entry, login to directadmin as the admin, go to Custom HTTPD Configurations, click the domain you want and then add the following line (this is one of mine as an example): |?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/usr/local/lib/php/:/usr/local/bin/| I have added /usr/local/bin/ because one of my sites uses ImageMagick that is installed there The final | is very important and if you miss it off, httpd will not start and all sites on your server will go 'poof' (they won't be deleted, just not accessible until you correct the error)