• Hi,

    I have a LAMP stack Digitalocean droplet. Recently I changed PHP to support FPM so I have HTTP/2 and it rocks with a score of 97 on Pagespeed Insights.

    Only thing, I can’t set max vars on my WordPress Theme.

    .htaccess code crashes the site.
    php.ini doesn’t work
    wp-config also not working

    Any help on how to do so will be greatly appreciated, thanks!

    Ben

    • This topic was modified 2 years, 9 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    You need to change this parameter on PHP-FPM config files of your server.
    If you are using Ubuntu Server (or other debian-based) maybe the correct file to change is:
    /etc/php/X.X/fpm/php.ini
    *X.X is your PHP Version, check the correct name of folder.

    After update the file, don’t forget to restart php-fpm service on your server:
    service phpX.X-fpm restart

    Thread Starter benja1

    (@benja1)

    Works like a charm, thanks! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to increase max vars with PHP_FPM?’ is closed to new replies.