aaemnnosttv / wp-cli-valet-command

Harness the power of Laravel Valet for creating fully functional WordPress installs in seconds.
https://aaemnnost.tv/wp-cli-commands/valet/
299 stars 31 forks source link

Fatal error: Allowed memory size of 536870912 bytes exhausted #67

Closed seothemes closed 4 years ago

seothemes commented 4 years ago

When trying to install we keep hitting this issue:

PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 5242880 bytes) in phar:///usr/local/bin/wp/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php on line 90
seothemes commented 4 years ago

Installing with the following command works:

php -d memory_limit=1024M "$(which wp)" package install git@github.com:aaemnnosttv/wp-cli-valet-command.git
aaemnnosttv commented 4 years ago

Yeah, it's a common issue installing just about any package through wp-cli using the default memory limits that come with Brew's PHP.

Glad you were able to get it installed 👍