in SS3 you should have a framework folder and main.php inside that

Interesting... Okay, so I edited my env variables location to the 5.6.31 folder, closed and re-opened my cmd and ran php -v. This time proper php version showing. I ran the composer install in the folder and it completed this time. I stopped and restarted the WAMP server and tried to load the project in my localhost again, but same error... main.php missing.

I ran php -v in my console and it's running 7.0.23 still, gonna look up a way to switch this.

So it looks like I already have PHP 5.6.31 in WAMP. I enabled the 5.6.31 version instead of the 7.0.23 version in WAMP just now, but it doesn't really change anything

yep so you need to upgrade to SilverStripe 4 or install PHP 5.6 with MAMP

I just ran composer install in the project folder, but it says: Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages.

Problem 1

  • silverstripe/framework 3.4.5 requires php >=5.3.3,<7 -> your PHP version (7.0.23) does not satisfy that requirement.
  • silverstripe/framework 3.4.5 requires php >=5.3.3,<7 -> your PHP version (7.0.23) does not satisfy that requirement.
  • Installation request for silverstripe/framework 3.4.5 -> satisfiable by silverstripe/framework[3.4.5].

yes for sure needs to be there (at least for SilverStripe 3)