PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, January 7, 2022

[FIXED] Can't create project with Composer

 January 07, 2022     codeigniter-4, composer-php, php     No comments   

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
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

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

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing