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
The error occurs when the domain's PHP memory_limit value is too low.
- Log into the user's cPanel account.
- Open the "MultiPHP INI Editor" application.
- Select the domain from the dropdown menu.
- Scroll down to the
- Set the
memory_limitvalue to the desired value.
- Click the "Apply" Button.