nystudio107 / craft

nystudio107 Craft 3 CMS scaffolding project
BSD Zero Clause License
291 stars 85 forks source link

Craft requires PHP 7.0 or later #9

Closed rogertinch closed 6 years ago

rogertinch commented 6 years ago

When I run ./craft setup I get the message "Craft requires PHP 7.0 or later". Is there any way around this requirement on a local install? Usually when I run a Craft 3 install using Composer I can use --ignore-platform-reqs.

khalwat commented 6 years ago

How are you running Craft 3 if the local PHP isn't 7.0 or later?

khalwat commented 6 years ago

So when you do composer create-project nystudio107/craft craft3 -s RC --ignore-platform-reqs (or whatever) that's telling Composer to ignore the minimum requirements when installing the package.

That's a separate thing from actually being able to run the installed package (which is what you're doing with ./craft setup

khalwat commented 6 years ago

If you're using MAMP or such you could try /path/to/mamp/php craft setup but this is really a Craft CMS 3 support question or a MAMP support question, it doesn't really have anything to do with nystudio107/craft