Support the ongoing development of Laravel.io →
posted 9 years ago
Installation
Last updated 2 years ago.
0
Solution

Sleepless night but I've solved it!

I reinstalled MAMP then edited my .bash_profile script, restarted the terminal.

alias php='/Applications/MAMP/bin/php/php5.4.26/bin/php'

Then I added MAMP to the Path by using this in my .bash_profile, again restarted terminal.

export PATH="/Applications/MAMP/bin/php/php5.4.26/bin:$PATH"

Hit my terminal with the magical one liner:

composer create-project laravel/laravel laravel-demo

and hey presto... finally no error codes! As with many things coding - persistence is key!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ajs87 ajs87 Joined 25 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.