How to find and fix Multiple PHP CFGs Loading mcrypt

  • MTUser2012
  • 06/02/12
  • Offline
Posted: Wed, 2013-01-09 09:28

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?