Edit php.ini nginx on Ubuntu 18.04 to increase max_input_vars
I need to increase the PHP Max. Input Vars and PHP Max. Input Time to install a theme in wordpress.
I’m using nginx on ubuntu 18.04 with easyengine commands.
The php version is 7.2 and the path for php.ini is etc/php/7.2/cli/php.ini
In putty used
sudo nano /etc/php/7.2/cli/php.ini
and after change maximputvars and maximputtime restarted nginx with
sudo service nginx restart
Can someone help here? I’ve seen others with fpm instead of cli paths. I’m a noob and I’m stuck.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×