Documentation (main)
Our cheatsheet for diagnosing common WordPress emergencies.
Free support not enough? Try our paid support.

PHP configuration (php.ini)

Change php memory limits, execution times, upload limits, input vars, enable/disable fopen, etc. This can help provide more memory and time for heavier plugins, larger file uploads (like large mysql database imports, or backup restores).

Site Settings > PHP TAB…

  • Common PHP Options – these are the more common options. Choose from the dropdown and enter the new value. Remember to use only a number for seconds (e.g. “30”) and a number with M for megabytes (e.g. “256M”).
  • Other PHP Options – these are lesson common options. Write in the exact option you want, and the value for it. You can also put other PHP options inside a .php.ini file in your site directory.

NOTES:

  • To increase file upload size limits in WordPress or phpMyAdmin, increase both upload_max_filesize and post_max_size.
  • And since larger uploads would also take more time, you should increase max_execution_time and max_input_time as well.
  • You should also (soft) restart your web server if you feel the changes didn’t take effect yet. Go to Server settings > Services TAB > and restart OLS. 😉

Leave a Comment