PHP-FPM and MySQL settings for WordPress VPS to prevent plugins from crashing your website

MySQL and PHP settings have a huge impact on how plugins can affect your VPS WordPress website. Setting PHP max children to 50, and MySQL’s max connections to 50 and wait timeout to 30; go a long way in reducing the impact a badly coded plugin can have on your website.