Mam problem z pobraniem pakietu Symfony.
mam strukturę katalogów taką: /var/www/testsymfony
w katalogu testsymfony mam plik composer.phar który pobrałem następującym poleceniem:
curl -s https://getcomposer.org/installer | php
Próbuję teraz pobrać (z poziomu katalogu testsymfony) pakiet Symfony w taki sposób:
php composer.phar create-project symfony/framework-standard-edition testsymfony/ '~2.5'
Jednak otrzymuję następujący komunikat z błędem:
damian@CampNou:/var/www/testsymfony$ php composer.phar create-project symfony/framework-standard-edition testsymfony/ '~2.5' file_put_contents(/home/damian/.composer/cache/repo/https---packagist.org/packages.json): failed to open stream: Permission denied https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date Installing symfony/framework-standard-edition (v2.6.4) - Installing symfony/framework-standard-edition (v2.6.4) Failed to download symfony/framework-standard-edition from dist: Could not delete /home/damian/.composer/cache/files/symfony/framework-standard-edition/1d8bd92149df5d8543863bafd3c7fe900acb1567.zip: Now trying to download from source - Installing symfony/framework-standard-edition (v2.6.4) Cloning 1d8bd92149df5d8543863bafd3c7fe900acb1567 Created project in testsymfony/ Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for sensiolabs/security-checker v2.0.1 -> satisfiable by sensiolabs/security-checker[v2.0.1]. - sensiolabs/security-checker v2.0.1 requires ext-curl * -> the requested PHP extension curl is missing from your system. Problem 2 - sensiolabs/security-checker v2.0.1 requires ext-curl * -> the requested PHP extension curl is missing from your system. - sensio/distribution-bundle v3.0.16 requires sensiolabs/security-checker ~2.0 -> satisfiable by sensiolabs/security-checker[v2.0.1]. - Installation request for sensio/distribution-bundle v3.0.16 -> satisfiable by sensio/distribution-bundle[v3.0.16].
Natomiast jak chcę pobrać pakiet Symfony z poziomu katalogu /var/www to otrzymuję komunikat:
Could not open input file: composer.phar
System Ubuntu