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.

Changing Internal PHP Settings Within WHM

Discussion in 'General Discussion' started by Dhaupin, Apr 21, 2017.

Tags:
  1. Dhaupin

    Dhaupin Active Member

    Joined:
    Jan 3, 2014
    Messages:
    41
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hey all, forgive me if im missing something here. In an EA3 Cloudlinux server we had to bump some defaults up in PhpMyAdmin internal php.ini. One thing we noticed is that those changes are overwritten things are rebuilt from master /usr/local/cpanel/3rdparty/php/56/etc/php.ini (using /usr/local/cpanel/bin/install_php_inis).

    Is there a way to make max_input_vars and a handful of others persist in /usr/local/cpanel/3rdparty/php/56/etc/phpmyadmin/php.ini without increasing them globally or risking overwrite when things are updated?

    Also I noticed this feature Manage the internal PHP settings (php.ini) from WHM. Did that ever make it into WHM? It says completed but I didnt find a spot.

    PS: I should have titled this thread differently. I didnt see a way to edit the title :)
     
    #1 Dhaupin, Apr 21, 2017
    Last edited: Apr 21, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's not possible to make custom changes to the /usr/local/cpanel/3rdparty/php/56/etc/phpmyadmin/php.ini file on it's own. Instead, you'd have to make changes to "/usr/local/cpanel/3rdparty/php/56/etc/php.ini" and then run the "/usr/local/cpanel/bin/install_php_inis" command. I encourage you to open a feature request if you'd like to see the ability to edit just the phpMyAdmin PHP values:

    Submit A Feature Request

    Thank you.
     
    #2 cPanelMichael, Apr 21, 2017
    Last edited: Apr 24, 2017
  3. Dhaupin

    Dhaupin Active Member

    Joined:
    Jan 3, 2014
    Messages:
    41
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The second feature request you noted shows as completed, but I believe the scope of that request was limited to the options under "PHP" in "WHM >> Tweak Settings". I'd like like to point you to an update on the following thread:

    phpMyAdmin max_input_vars error

    Thank you.
     
Loading...

Share This Page