Amirol Zolkifli

DirectAdmin PHP 5.6 – configure: error: mcrypt.h not found. Please reinstall libmcrypt.

I’m using DirectAdmin and CentOS 7. I got this error(s) when updating my build:

mcrypt.h not found. Please reinstall libmcrypt

exim not installed

the clamav-freshclam and clamd@scan stopped

So what I did to solve these issues:

  1. SSH to the server and enter the following commands:
wget http://mirrors.ukfast.co.uk/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm

yum remove epel-release

yum update

rpm -ivh epel-release-7-14.noarch.rpm

yum update

And then rebuild again the custom build. All problems solved!

Reference: https://forum.directadmin.com/threads/the-service-clamav-freshclam-on-server-is-currently-down.67518/post-357161

    Leave a Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    © Copyright 2010 - 2024 Amirol Zolkifli. All Rights Reserved.