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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php.ini changes in cPanel 66

Discussion in 'EasyApache' started by markitzero, Aug 28, 2017.

  1. markitzero

    markitzero Registered

    Joined:
    Aug 28, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Could the online documentation be updated to reflect that local.ini files are no longer used?

    I upgraded to EasyApache 4 today, and spent a fair amount of time trying to work out why local.ini files weren't appearing as the documentation suggested.

    Also, the PECL installer is still looking for local.ini files. It throws up a warning at the end of the install process that local.ini cannot be found. (APCu is an example).
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,371
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Here's a post that further explains how the differences could affect custom PHP configuration values:

    cPanel 66 Update MultiPHP INI Editor Changes

    Here are links to the updated documents for the cPanel and WHM MultiPHP INI Editor interfaces in version 66 with information about which PHP configuration files are utilized:

    MultiPHP INI Editor for cPanel - Version 66 Documentation - cPanel Documentation
    MultiPHP INI Editor for WHM - Version 66 Documentation - cPanel Documentation

    The intention was to enable PHP extensions by default when you install a PHP PECL extension in WHM's Module Installers interface. However, it looks like this new feature incorrectly utilizes the local.ini file. I've opened internal case CPANEL-15577 to report this issue, and will update this thread with more information on the status of this case as it becomes available. In the meantime, the workaround is to manually add the "extension=module.so" line to the appropriate php.ini file (e.g. /opt/cpanel/ea-php70/root/etc/php.ini) after installing the Pecl module.

    Thank you.
     
    Kent Brockman likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,371
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, installing a PHP PECL extension in WHM's Module Installers interface no longer uses the local.ini file as of yesterday's EA4 release:

    ZC-2834: Stop using local.ini

    You can update your system to the latest EA4 RPMs using the "yum update" command if automatic updates are disabled.

    Thank you.
     
Loading...

Share This Page