Litespeed out of memory PHP
Cause of Litespeed out of memory PHP
This error Litespeed out of memory PHP mainly comes when you try uploading something which has a large memory and exceeds the memory limit. Sometimes this error still comes even when the memory is within the range. It may be possible that one can get this error only when they are posting something.
Solution
The meaning behind this error is that according to the inaccuracy, the memory limit is 18M, not 128M. This indicates that the memory limit is not set to 128M anywhere. To solve this problem one needs to follow the following steps:
- Firstly one needs to download the CyberPanel and then navigate to the CyberPanel Dashboard.
2. Then click on the website and navigate to the List websites option. This will present the complete list of websites user is using right now.
3. You may now scroll down to your site and click Manage next to its name. Click here
4. To vHost Conf, scroll down. To determine your PHP version, click on it and scroll down.
Another problem can be instead of hitting the PHP memory limit, one is hitting a limit in WordPress’s own memory allocation. This restriction was put in place by WordPress to prevent scripts with poor code from terminating the PHP interpreter altogether. Unfortunately, as has been noted, it’s rather basic.
Also Read: Prediction using Lasso and Ridge Regression