-1

I am learning to create projects with laravel, I am using PHP 8. When creating a new project through "laravel new project".I got this error and vendor folder is missiing in that project.

composer create-project laravel/laravel new-project - laravel/framework[v8.65.0, ..., 8.x-dev] require league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, ..., 1.x-dev]. - league/flysystem[1.1.0, ..., 1.x-dev] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. - Root composer.json requires laravel/framework ^8.65 -> satisfiable by laravel/framework[v8.65.0, ..., 8.x-dev]. To enable extensions, verify that they are enabled in your .ini files: - C:\Program Files\php-8.0.12\php.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode. 
6

2 Answers 2

3

removing ; before extension = fileinfo from php.ini inside PHP folder in this path "C:\Program Files\php-8.0.12/" but I didn't remove it from "C:\Program Files\php-8.0.12/php.ini".

Sign up to request clarification or add additional context in comments.

1 Comment

If you help this answer so please up this answer becouse another user can use for that.
0

On this file C:\Program Files\php-8.0.12\php.ini add this line:

extension=php_fileinfo.dll 

This should enable the missing extension on the system.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.