Update: Turns out that I only had php 5.3. I have no idea how I came to have 5.3 though.
This is how I got 5.5:
Any ideas? It looks like it is looking for php5 but is just doing php and expecting composer to know that it means php5? just guessing though. Any ideas how to make it work? Thanks.
drwebb@drwebb-VirtualBox:/var/www/project-trade-mate$ composer create-project --prefer-dist yiisoft/yii2-app-basic version-1
Installing yiisoft/yii2-app-basic (2.0.2)
-
Installing yiisoft/yii2-app-basic (2.0.2)
Loading from cache
Created project in version-1
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
- yiisoft/yii2 2.0.2 requires php >=5.4.0 -> no matching package found.
- yiisoft/yii2 2.0.1 requires php >=5.4.0 -> no matching package found.
- yiisoft/yii2 2.0.0 requires php >=5.4.0 -> no matching package found.
- Installation request for yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0.0, 2.0.1, 2.0.2].
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.