Changing memory_limit option and upload_max_filesize

If you have an error during the operation of the site, yes critical error or Allowed memory size of… that means you need to change the appropriate parameters in PHP.INI. To get there you need to log into cPanel.

  • We find the MultiPHP INI Editor option, we simply start typing in the upper corner of Multi and the options will appear as in the picture below.
multiphpinieditor Promena memory_limit opcije i upload_max_filesize
  • Now that we have opened we need to choose Domain on which we are working.
multiphpinieditor2 Promena memory_limit opcije i upload_max_filesize

When we choose we will get options as in the picture above. Among them is everything we need.

If you received an error when uploading a theme or plugin you need to modify two fields upload_max_filesize and post_max_size.

If the theme is 30mb in size that we want to seed and post then we need to post more than that, post say 50mb in both places and save

If you received the error Allowed memory size of… you need to edit the field memory_limit. Be careful here, it is not good to set a larger value than necessary, because your php processes and application use that value, so when you set a large value, other resources may be exceeded, which will again cause the site to be unavailable. Therefore, set the value as small as possible and the site will work. If 128M is not enough, put 256M, if that's not enough, try 382M, if that doesn't work, put 512M. Usually each theme will work with 256M.

  • When you're done save and that's it. Refresh your php page (the page you are working on) and try uploading or continuing work again.
Scroll to Top