0

Whenever I run the below command in cmd it gives me this error.

composer create-project --prefer-dist laravel/laravel myProject

I also have checked some extensions in php.ini like fileinfo, openssl etc.
For more details see the below picture.

enter image description here

Nimantha
  • 6,405
  • 6
  • 28
  • 69
Younas
  • 75
  • 1
  • 6
  • 1
    The error says you don't have the `fileinfo` extension enabled – apokryfos Jul 19 '21 at 07:04
  • Did you run `php --ini` as shown to determine if the extension is loaded? – Jim Panse Jul 19 '21 at 07:05
  • php --ini show this: C:\xampp\htdocs\Dev>php --ini Configuration File (php.ini) Path: Loaded Configuration File: C:\Program Files\php-8.0.6\php.ini Scan for additional .ini files in: (none) Additional .ini files parsed: (none) – Younas Jul 19 '21 at 11:56
  • I already enabled fileinfo extension but it still show this error I don't know why. – Younas Jul 19 '21 at 11:57

0 Answers0