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!

Will an update remove my extensions?

Discussion in 'EasyApache' started by, Jun 11, 2016.

  1. Member

    May 9, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I'm using EasyApache 4 with PHP 7.x.

    I needed memcache support so I built the pecl-memcache extension and installed it into /opt/cpanel/ea-php70/root/usr/lib64/php/modules/ I then created
    /opt/cpanel/ea-php70/root/etc/php.d/memcached.ini to load the extension.

    I have tested and everything seems to be working great.

    When WHM/EasyApache 4 does any future updates, assuming that the updates don't include anything related to memcache, will my extension and ini file still exist and hopefully continue to function, or will they be deleted since they are not part of the EasyApache 4 installation?



    Another question.

    If I edited an existing ini file (eg. /opt/cpanel/ea-php70/root/etc/php.d/10-opcache.ini), would my changes be retained during an update or will they revert back to whatever EasyApache 4 uses by default?
    #1, Jun 11, 2016
    Last edited by a moderator: Jun 11, 2016
  2. twhiting9275

    twhiting9275 Well-Known Member

    Sep 26, 2002
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Firstly, bumping threads is pretty much a bad idea. Forum staff , or someone else will respond as their time is available ;)

    The compiled extensions won't get removed, no. EA doesn't do that
    As far as php.ini settings, that should remain.

    It's important to note that as you compile new versions of php, you'll have to recompile your extensions, most likely. Otherwise, your extensions will break php usage.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Yes, as mentioned in the previous response, your custom settings are not removed during update. However, ensure you make the changes again in the future if switching to different version of PHP. Also, documentation on creating your own RPM packages for EasyApache is planned for the future to help users with creating their own packages.

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

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