• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

rebuilding client php.ini doesn't work when adding a new variable in php.ini

gijsbert

Basic Pleskian
I did not have the option max_input_vars within my php.ini when setting up some domains. So after I figured this out I added the max_input_vars to my php.ini, but no matter what I try, the php.ini (fastcgi setup) of a customer does not change. I tried different commands:

./httpdmng --reconfigure-server
./httpdmng --reconfigure-all
service httpd restart

but the new entry max_input_vars in /etc/php.ini does not get added to /var/www/vhosts/system/<domain>/etc/php.ini

When modifying an existing value in /etc/php.ini, the updated value is written to the system/<domain>/etc/php.ini, but when adding a new variable in /etc/php.ini (in my case I added a max_input_vars variable), this variable is not added to the system/<domain>/etc/php.ini

The only way I would be able to get this variable in the system/<domain>/etc/php.ini is by switching to apache and then back to fastcgi.

Is it possible to regenerate the php.ini files without switching back and forward from apache to fastcgi?

Kind regards,

Gijsbert
 
Back
Top