Learn about Centmin Mod LEMP Stack today
Register Now

Wordpress Allowed memory size

Discussion in 'Blogs & CMS usage' started by emre22, Aug 9, 2017.

  1. emre22

    emre22 Member

    42
    5
    8
    Oct 15, 2016
    Ratings:
    +5
    Local Time:
    12:11 AM
    nginx-1.10.1
    MariaDB 10
  2. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:11 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah unfortunately php composer needs more memory for 3rd party wp-cli wp-checksum and wp-sec packages
    Code (Text):
    ------------------------------------------------------------
    Update wp-cli tool
    ------------------------------------------------------------
    updating...
    -------------------------------------------------------------
    install wp-cli https://github.com/eriktorsner/wp-checksum
    Installing package eriktorsner/wp-checksum (dev-master)
    Updating /root/.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 167772160 bytes exhausted (tried to allocate 72 bytes) in phar:///usr/bin/wp/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php on line 90
    -------------------------------------------------------------
    install wp-cli https://github.com/markri/wp-sec
    Installing package markri/wp-sec (dev-master)
    Updating /root/.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 167772160 bytes exhausted (tried to allocate 72 bytes) in phar:///usr/bin/wp/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 56
    -------------------------------------------------------------
    update wp-cli packages
    Using Composer to update packages...
    ---
    Loading composer repositories with package information
    Updating dependencies
    PHP Fatal error:  Allowed memory size of 167772160 bytes exhausted (tried to allocate 32 bytes) in phar:///usr/bin/wp/vendor/composer/composer/src/Composer/DependencyResolver/Rule.php on line 57
    -------------------------------------------------------------
    update wp-cli
    2017-08-08 20:51:05 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [4292472/4292472] -> "/usr/bin/wp" [1]
    PHP binary:    /usr/local/bin/php
    PHP version:    5.6.31
    php.ini used:    /usr/local/lib/php.ini
    WP-CLI root dir:    phar://wp-cli.phar
    WP-CLI vendor dir:    phar://wp-cli.phar/vendor
    WP_CLI phar path:    /usr/local/src/centminmod/addons
    WP-CLI packages dir:    /root/.wp-cli/packages/
    WP-CLI global config:   
    WP-CLI project config:   
    WP-CLI version:    1.3.0
    
    -------------------------------------------------------------
    wp-cli update completed
    Read http://wp-cli.org/ for full usage info
    -------------------------------------------------------------
    

    from Centmin Mod LEMP Stack Install Nginx on CentOS
    wp-cli works fine just those 3rd party packages don't so can ignore the error if you don't use them (not used by centmin mod out of the box)

    might disable them or optionally allow enabling in 123.09beta01 update
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:11 AM
    Nginx 1.13.x
    MariaDB 5.5
    updated 123.09beta01 with fix to disable those 2 3rd party packages by default :)
     
  4. emre22

    emre22 Member

    42
    5
    8
    Oct 15, 2016
    Ratings:
    +5
    Local Time:
    12:11 AM
    nginx-1.10.1
    MariaDB 10
    well I don't know what to do. I am a simple man. I press 22 and setup my sites :D
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    8:11 AM
    Nginx 1.13.x
    MariaDB 5.5
    just update 123.09beta01 via centmin.sh menu option 23 submenu option 2 to get the latest updates