You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've followed the instructions to install WP-CLI to the letter on a RunCloud-powered server, built on Ubuntu 16, and configured to use PHP 7.1.
When trying to install your package (running the command from a wp installation, as a non-root user), I get the following error :
Updating dependencies
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 18874368 bytes) in phar:///usr/local/bin/wp/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php on line 90
This is on a server with 2 cores and 4 GB RAM ... ?
The text was updated successfully, but these errors were encountered:
This looks like an issue with how PHP uses memory rather than the wp-cli package installer. Check the php.ini file for php-cli and see what the memory limit is set to.
I've followed the instructions to install WP-CLI to the letter on a RunCloud-powered server, built on Ubuntu 16, and configured to use PHP 7.1.
When trying to install your package (running the command from a wp installation, as a non-root user), I get the following error :
This is on a server with 2 cores and 4 GB RAM ... ?
The text was updated successfully, but these errors were encountered: