![Ubuntu 10.04 に Symfony2 をインストールするための適切な手順は何ですか?](https://rvso.com/image/1428768/Ubuntu%2010.04%20%E3%81%AB%20Symfony2%20%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E9%81%A9%E5%88%87%E3%81%AA%E6%89%8B%E9%A0%86%E3%81%AF%E4%BD%95%E3%81%A7%E3%81%99%E3%81%8B%3F.png)
LAMP はすでにインストールされていますが、Symfony2 をインストールできません。試したのは次のとおりです。
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
PHP のバージョンを確認してください。Symfony には最低でも PHP 5.3.3 が必要です。http://symfony.com/doc/current/reference/requirements.html