Change Multiphp INI settings with whmapi1 php_ini_set_directives directive-1

cPanel & WHM Version
88

Hedloff

Well-Known Member
Jun 7, 2004
151
7
168
Up north!
cPanel Access Level
DataCenter Provider
Hello,

I'm using these to change MultiPHP INI settings:

whmapi1 php_ini_set_directives directive-1=max_execution_time%3A360 version=ea-php73
whmapi1 php_ini_set_directives directive-1=max_input_vars%3A12000 version=ea-php73
whmapi1 php_ini_set_directives directive-1=memory_limit%3A756M version=ea-php73
whmapi1 php_ini_set_directives directive-1=post_max_size%3A150M version=ea-php73
whmapi1 php_ini_set_directives directive-1=upload_max_filesize%3A150M version=ea-php73


But these are not working.
It's working fine changing all alt-php version.

I had a ticket both with Cloudlinux and cPanel, but I searched trough them all and cannot find that ticket again. Could you search through your tickets and find the solution why I cannot change ea-php?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,304
1,252
313
Houston
I don't see a ticket for this subject under the email address your forum's user uses. Furthermore, I'm not able to replicate an issue with changing the PHP in variables using this API function. I tested this by running the API function then checking at WHM>>Software>>MultiPHP INI Editor. Are you receiving an error or any kind when running the API? Furthermore is there an error that is being output? Where are you checking to determine if the changes you made were successful?