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.
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
Description
The error occurs when the PHP memory_limit value is too low.
Workaround
- 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_limit
setting. - Set the
memory_limit
value to the desired value. - Click the "Apply" Button.
Comments
0 comments
Article is closed for comments.