[🔴LIVE] How to fix PHP INI fatal memory limit error?

preview_player
Показать описание
Today in this video we will show you how to fix PHP INI Fatal memory limit error. This fatal PHP error occurs because, by default, PHP has a memory usage limit of 128 MB for any given script. If you encounter this error, it means that your PHP script has used up more memory than it is allowed to.

This can be solved using MultiPHP INI Editor inside cPanel.

Follow the steps to fix PHP INI fatal memory limit error:
Step::1 Login to your cPanel interface
Step::2 Scroll down to Software section and click on MultiPHP INI Editor
Step::3 Here in MultiPHP INI Editor page, click on Basic Mode
Step::4 Next select the domain or root directory from the drop-down
Step::5 Look for memory_limit under PHP Directive column. By default it is set to 128 MB
This means that if one of your PHP scripts consumes more than 128MB in memory, then the memory will be exhausted and the error will occur.
So what you can do is you can set or increase the maximum memory limit which is required for the php file to get executed.
Step::6 Once you have changed the limit, click on Apply button.
Hope you enjoyed the video!!!

Thank you for watching the video. We hope this was helpful to you all. If you have any suggestions or problems related to this video, please let us know via the comment section below.
Рекомендации по теме