Friday, January 7, 2022

[FIXED] Can't create project with Composer

Issue

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


Solution

I edited Path variable, changed path to php from C:\wamp64\bin\php\php5.6.40 to C:\wamp64\bin\php\php7.3.12 and it worked.



Answered By - VuduDzedaj

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.