Skip to content
Advertisement

Can’t create project with Composer

I am trying to create project with Composer using command

composer create-project codeigniter4/appstarter myproject

and i get this Exception

[InvalidArgumentException] Could not find package codeigniter4/appstarter with stability stable in a version installable using your PHP version 5.6.40.

I am using Wamp Server 3.2.0 and PHP 7.3.12

Please help

Advertisement

Answer

I edited Path variable, changed path to php from C:wamp64binphpphp5.6.40 to C:wamp64binphpphp7.3.12 and it worked.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement