Warnings after phpmyadmin install

Hi,

I’ve installed phpmyadmin via the script installer in Virtualmin. However, I immediately started getting mcrypt errors. The warning emails only contain the following line. . .

PHP Warning: Module ‘mcrypt’ already loaded in Unknown on line 0

The subject of the warning email references a cron. . .

Cron root@en1 [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null ; -delete

I already checked the php.ini file and there is only one mcrypt.so entry.
I wonder if someone on the forums has a suggestion to fix? Many thanks.

Well the bi-hourly messages were getting annoying so I silenced it by removing phpmyadmin via that script installer and then running sudo apt-get remove --purge php5-mcrypt. Thereafter I reinstalled mcrypt and it’s now silenced.

Any ideas at all?