Skip to main content

1. Now, what is PHP?

PHP is the coding language that WordPress is built upon and relies on to function.

You can read the the following post to Understand WordPress in an easy and cool way.

For PHP to work smoothly with WordPress, we need to make some adjustments to the server.

2. Recommended PHP Settings for WordPress:

  • max_execution_time: 300
  • max_input_vars: 3000
  • upload_max_filesize: 256M
  • max_input_time: 1000
  • memory_limit: 256M
  • post_max_size: 64M

3. How to edit the PHP Settings?

1. Go to the CPanel of your Hosting Account.

2. Find the “Select PHP Version“.

3. Click on the “Options” tab.

4. Change the values with the ones from the table at the top of the post.

4. Why is this important?

Most of the time, you’ll get errors if you don’t do these adjustments while working on your WordPress site.

Most common errors:

  1. Exceeds the Maximum Upload Size for this Site: This error occurs when you try to upload a file that exceeds the maximum file upload size set in PHP settings. It can be resolved by increasing the “upload_max_filesize” and “post_max_size” values.
  2. Allowed Memory Size Exhausted: When a WordPress site requires more memory than the PHP memory limit allows, this error is triggered. Increasing the “memory_limit” value can resolve this issue.
  3. Maximum Execution Time Exceeded: WordPress tasks that take longer than the maximum execution time specified in PHP settings may result in this error. You can solve it by increasing the “max_execution_time” value in the PHP configuration.
  4. Fatal Error or White Screen.

By now, you should be ready to start working on WordPress.

If you got stuck, or need some help, reach me out at

Santiago Tonelli

Web Designer/Developer.
I'm here to help you overcome challenges and find success on your digital journey. Feel free to contact me at for any assistance you may need.