Support the ongoing development of Laravel.io →
Installation Laravel

When I have tried to install laravel 8 via composer for on localhost MAMP

I have gotten this message in command line (terminal): -bash: /Applications/MAMP/bin/php/php7.4.16/bin/php: No such file or directory

notice php7.4.16 shows in path, although I'm using ver 8, further to, this version is no longer supported and not in use at all.

I had searched for solving my problem in google, until I found some treatment for solving path issue, but it doesn't benefit me:

_export PATH="/Applications/MAMP/bin/php/php7.0.27/bin:${PATH}" _

it has replaced the php ver path I have actually, but the problem is still.

why this version shows in my installation path although it's old & dead version?

what I should do?

kindly, anybody could help me to solve this problem?

Also, could me to install composer on XAMPP instead of MAMP, because I have a copy of it on my MacBook computer already?

Thank you for my helping in advance.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Ayman ayman1970 Joined 25 Jan 2022

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.

© 2025 Laravel.io - All rights reserved.