Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error on RunCloud-powered server #10

Open
jfarsen opened this issue Jan 2, 2018 · 1 comment
Open

PHP Fatal error on RunCloud-powered server #10

jfarsen opened this issue Jan 2, 2018 · 1 comment

Comments

@jfarsen
Copy link

jfarsen commented Jan 2, 2018

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 ... ?

@eriktorsner
Copy link
Owner

Hi,

Sorry for the late reply.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants