Debug info and PHP settings

In this article you can learn how to find information about your server setup and how to tweak it.

In some cases, to properly debug an issue on your website, you need to determine and possibly change the PHP settings of your server.

You can install and active a plugin such as Debug Info to display all the necessary debug information (under Dashboard → Debug info), like the PHP version you are using on your server and PHP settings.

If you are using old PHP version, please upgrade it. (Check WordPress requirements page.)

Also, check out the values of the PHP settings below. There is no prescribed rule of how you should set these values, and below is a recommendation only. To set these you might need to contact your hosting company to assist you (read the 3rd party tutorial).

  • memory_limit
    Try rising it to at least 96M.
  • post_max_size
    This could affect your theme/plugin/WordPress settings saving. There is no bullet-proof value here. Try rising it to 96M.
  • max_input_vars
    This is usually set up to value of 1000, which is perfectly fine in most cases. However, if you are dealing with long complicated menus (Important: theme demo data usually contains such long menus!), you should rise this value to, let’s say, 2000. This is due to WordPress menu item limit issue.
  • max_execution_time
    This is usually set up to value of 30, which is perfectly fine in most cases. Rarely you may need to rise this value.

Other PHP settings should be fine.

TIP:
You might also need to enable WordPress debug mode temporarily to see if there are any PHP errors or warnings displayed.