• Resolved patbell101

    (@patbell101)


    I am trying to install a WP CLI package. OK I’m a CLI newbie but I installed WP CLI and it checks out ok but the first package I am trying won’t install. From
    “wp package install 10up/mu-migration”
    I get
    “Installing package 10up/mu-migration (dev-master)
    Updating /srv/users/serverpilot/.wp-cli/packages/composer.json to require the package…
    Using Composer to install the package…

    Loading composer repositories with package information
    Updating dependencies
    PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in phar:///usr/local/bin/wp/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php on line 83”

    I have added memory_limit = 512M to my php.ini file but still a problem.

    free -m gives me this fwiw

    total used free shared buff/cache available
    Mem: 992 296 322 68 373 440
    Swap: 511 181 330

    • This topic was modified 8 years ago by patbell101.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Cannot install a WP CLI package’ is closed to new replies.