phpsymfonycomposer-phpsylius

Sylius installation doesn't work


I have a problem with the installation of Sylius.

PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 126

This error occur when I run : composer create-project -s dev sylius/sylius-standard Club26

My configuration is :

Thanks for help


Solution

  • Try disabling Garbage Collection during installation.

    For global installations of Composer

    $ php -d zend.enable_gc=0 `which composer` create-project -s dev sylius/sylius-standard Club26
    

    For local installation of composer.phar

    $ php -d zend.enable_gc=0 composer.phar create-project -s dev sylius/sylius-standard Club26