Changing Internal PHP Settings Within WHM

Dhaupin

Active Member
Jan 3, 2014
41
4
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 :)
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
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.
 
Last edited:

Dhaupin

Active Member
Jan 3, 2014
41
4
8
cPanel Access Level
Root Administrator

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
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.