简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM