Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHP Warning: Module already loaded

Discussion in 'General Discussion' started by upsforum, Oct 30, 2017.

  1. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    465
    Likes Received:
    0
    Trophy Points:
    166
    I migrated vps to EA4 and installed mailparse 2.1.6 for php 5.6, the problem is that I receive on all accounts error_log this message:

    PHP Warning: Module 'mailparse' already loaded in Unknown on line 0

    I commented row but not solved
    ;extension="mailparse.so"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you let us know the full steps and paths you used to install the module, and which file you commented that line from?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    465
    Likes Received:
    0
    Trophy Points:
    166
    after I migrated to EA4 I have installed mailparse (2.1.6) with PECL install module from WHM, I don't installed last version of mailparse why is incompatible with php 5.6
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    465
    Likes Received:
    0
    Trophy Points:
    166
    I commented row in /usr/local/lib/php.ini
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You should be able to browse "WHM >> Module Installers >> PHP Pecl", select PHP version 5.6, and then uninstall the module under "Installed PHP Pecl(s)". Otherwise, if manually removing it from the php.ini, you'd need to remove that line from the correct php.ini file. In EasyApache 4, the correct path for PHP 5.6 is:

    Code:
    /opt/cpanel/ea-php56/root/etc/php.ini
    Also, please see this document:

    How to Edit Your php.ini File - cPanel Knowledge Base - cPanel Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    465
    Likes Received:
    0
    Trophy Points:
    166
    I keep in /opt/cpanel/ea-php56/root/etc/php.d/mailparse.ini and commented in /usr/local/lib/php.ini and in /opt/cpanel/ea-php56/root/etc/php.ini, work fine now
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice