Recommended PHP configuration limits

Many issues you may run into such as; white screen, demo content fails when importing, empty page content, changing skin problems and other similar issues are all related to low PHP configuration limits. The solution is to increase the PHP limits. You can do this on your own, or contact your web host and ask them to increase those limits to a minimum as follows:

max_execution_time 180
memory_limit 128M
post_max_size 64M
upload_max_filesize 64M
max_input_time 60

 

Also consider upgrading your PHP version to the latest version, the newer the better.

 

How To Verify Your Current PHP Limits?

You can verify your PHP configuration limits by installing a simple plugin Host PHP Info by Arefly.

 

Updating your PHP version

In most cases you cannot update the PHP version yourself and need to contact your host about this. The upgrade process is an easy process and should be something your host can do for you without impacting your website or charging you a fee. Here’s a letter you can send to your hosting company:

Dear host,
I’m running a WordPress theme on one of your servers and this theme has recommended using at least PHP 5.6 or higher. WordPress, the content management system that my theme uses, has listed PHP 7 as the recommended version on their requirements page: https://wordpress.org/about/requirements/
Can you please let me know if my hosting supports PHP 5.6 or higher and how I can upgrade?

Also please increase those limits to a minimum as follows:
max_execution_time 180
memory_limit 128M
post_max_size 64M
upload_max_filesize 64M
max_input_time 60

Looking forward to your reply.

Please note though that many hosts will try to keep the PHP limits low without reason. However you are paying for it, and therefor should be getting your moneys worth.

Was this article helpful?