Symptoms
When running various tasks in WP Toolkit such as installing a site or checking for updates, it fails with an error similar to the following.
CONFIG_TEXT: PHP Fatal error: Out of memory (allocated 6291456) (tried to allocate 12288 bytes) in /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/language-command/src/Plugin_Language_Command.php on line 421
Cause
The error occurs when the PHP memory_limit value is too low.
Resolution
- Log into the WHM as root.
- Navigate to Home / Software / MultiPHP INI Editor
- Click the Basic Mode tab.
- Select the version of PHP from the dropdown menu.
- Scroll down to the
memory_limitsetting. - Set the
memory_limitvalue to the desired value. - Click the Apply Button.
Comments
0 comments
Article is closed for comments.