How do I modify php_value max_input_vars on EasyEngine?


Hey there!

I’m having lot’s of custom fields on some of my posts, and I have encountered a problem where they don’t show up after 38 fields or something like that.

I read a solution suggesting that I should increase this in .htaccess:

php_value max_input_vars

But I’m not really sure how to do this when running easyengine with Nginx.

Could someone please help me with this?

Thanks a lot!

// Jens.



To edit max_input_vars

vim /etc/php5/fpm/php.ini

The default value of max_input_vars is 1000. Which should be sufficient for most cases.

Check for PHP timeout message under error log file. That is a more common reason for custom fields not being displayed. You can increase PHP execution time following this tutorial



Thanks for your reply, it’s much appreciated! Where can I find the error log file? And how do I read it? // Jens.


Hi @jensfilipsson

It’s been a long time, and we haven’t heard from you. It looks like your issue is resolved.

Anyways you can find error log at /var/log/nginx/ , all php errors/warnings are passed to Fastcgi and are logged here.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile: