Wie werden Symfony2 unter Ubuntu 10.04 installiert?

633
user1318868

Ich habe LAMP bereits installiert, aber ich kann Symfony2 nicht installieren. Das habe ich versucht:

php composer.phar create-project symfony/framework-standard-edition /var/www/georgecampean/Symfony '2.5.*' Installing symfony/framework-standard-edition (v2.5.6) - Installing symfony/framework-standard-edition (v2.5.6) Loading from cache  Created project in /var/www/georgecampean/Symfony Loading composer repositories with package information Installing dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.  Problem 1 - The requested package php could not be found in any version, there may be a typo in the package name. Problem 2 - The requested package php could not be found in any version, there may be a typo in the package name. Problem 3 - Installation request for doctrine/doctrine-bundle ~1.2 -> satisfiable by doctrine/doctrine-bundle[v1.2.0]. - doctrine/doctrine-bundle v1.2.0 requires php >=5.3.2 -> no matching package found. Problem 4 - doctrine/orm v2.4.6 requires php >=5.3.2 -> no matching package found. - doctrine/orm v2.4.5 requires php >=5.3.2 -> no matching package found. - doctrine/orm v2.4.4 requires php >=5.3.2 -> no matching package found. - doctrine/orm v2.4.3 requires php >=5.3.2 -> no matching package found. - doctrine/orm v2.4.2 requires php >=5.3.2 -> no matching package found. - doctrine/orm v2.4.1 requires php >=5.3.2 -> no matching package found. - doctrine/orm v2.4.0 requires php >=5.3.2 -> no matching package found. - doctrine/orm v2.3.6 requires php >=5.3.2 -> no matching package found. - doctrine/orm 2.3.5 requires php >=5.3.2 -> no matching package found. - doctrine/orm 2.3.4 requires php >=5.3.2 -> no matching package found. - doctrine/orm 2.3.3 requires php >=5.3.2 -> no matching package found. - doctrine/orm 2.3.2 requires php >=5.3.2 -> no matching package found. - doctrine/orm 2.3.1 requires php >=5.3.2 -> no matching package found. - doctrine/orm 2.3.0 requires php >=5.3.2 -> no matching package found. - doctrine/orm 2.2.3 requires php >=5.3.2 -> no matching package found. - Installation request for doctrine/orm ~2.2,>=2.2.3 -> satisfiable by doctrine/orm[2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, v2.3.6, v2.4.0, v2.4.1, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6].  Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.  Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems. 
-1

1 Antwort auf die Frage

-1
Vladimir Glechikov

Überprüfen Sie Ihre PHP-Version. Symfony benötigt mindestens PHP 5.3.3. http://symfony.com/doc/current/reference/requirements.html

Ich würde auch hinzufügen, dass 10.04 EOL ist - was hier relevant sein könnte. Journeyman Geek vor 9 Jahren 0
Ihr Link ist für V2.6. Die Frage zeigt V2.5.6 und die Meldungen beziehen sich auf php 5.3.2. Sie scheinen jedoch die fehlende Abhängigkeit entdeckt zu haben. fixer1234 vor 9 Jahren 0