0

I'm trying to install Laravel but when creating a project with (composer /composer create-project laravel/laravel /my-path/), but I get these errors:

Your requirements could not be resolved to an installable set of packages.

Problem 1

  • laravel/framework v4.2.9 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.8 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.7 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.6 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.5 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.4 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.3 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.2 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.11 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.10 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.1 requires php >=5.4.0 -> no matching package found.
  • laravel/framework v4.2.0 requires php >=5.4.0 -> no matching package found.
  • Installation request for laravel/framework 4.2.* -> satisfiable by laravel/framework[v4.2.0, v4.2.1, v4.2.10, v4.2.11, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].

Potential causes:

I don't understand as I'm using MAMP on Mac OSX 10.8.5 with php 5.5.3 (and also 5.2.17).

Thanks for the help!

3
  • 2
    Do php -v from the command line to see what version of PHP is actually being used by your create-project command Commented Nov 26, 2014 at 8:19
  • Thanks! I did it and it tells me i'm using php 5.3.28... do you know how I can change it to 5.5.3? Commented Nov 26, 2014 at 10:10
  • Can't tell you how to do it on a mac, I only use Linux (or virtual boxes running Linux) Commented Nov 26, 2014 at 10:11

1 Answer 1

1

I updated my PHP to 5.5.3 using this tutorial: http://ziad.eljammal.com/install-php-5-5-on-mac-os-x/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.