Was sind die richtigen Schritte zur Installation von Symfony2 unter Ubuntu 10.04?

Was sind die richtigen Schritte zur Installation von Symfony2 unter Ubuntu 10.04?

Ich habe LAMP bereits installiert, kann Symfony2 aber nicht installieren. Folgendes 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.

Antwort1

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

verwandte Informationen