How to find and fix Multiple PHP CFGs Loading mcrypt

1 post / 0 new
#1 Wed, 01/09/2013 - 09:28
MTUser2012

How to find and fix Multiple PHP CFGs Loading mcrypt

I see this error in the apache log:

[Tue Jan 08 23:01:29 2013] [warn] mod_fcgid: process 8995 graceful kill fail, sending SIGKILL PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0 PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0 PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

My research tells me it is from multiple instances of php.cfg trying to load mcrypt. I installed mcrypt when installing phpmyadmin with each virtual server.

How do I find the php.cfgs that load mcrypt, what to look for? How do fix? How do I make sure that mcrypt is loaded from the global virtualmin installation and not the virtual servers?