라라벨 개발 환경 구축하다가 cmd창에 아래와 같은 이상한 에러가 났다
Creating a "laravel/laravel" project at "./myProject"
Installing laravel/laravel (v8.5.20)
- Installing laravel/laravel (v8.5.20): Extracting archive
Created project in C:\Users\tang9/myProject
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/framework[v8.40.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.40 -> satisfiable by laravel/framework[v8.40.0, ..., 8.x-dev].
To enable extensions, verify that they are enabled in your .ini files:
- C:\php-8.0.3-Win32-vs16-x64\php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
에러 메세지에 떠있는 php설치파일경로로 들어가서(C:\php-8.0.3-Win32-vs16-x64\php.ini)
php.ini 파일 편집
;extension=fileinfo을
extension=fileinfo로 변경하고 저장한뒤 실행
새로운 프로젝트가 생성되고 포트도 할당 받아
웹브라우저가 열린다!!!
두시간 가까이 찾아서 해결 했습니다 공감 부탁드려요~~~
'Error' 카테고리의 다른 글
[ppt] 파워포인트, 백신 프로그램으로 인해 프레젠테이션을 열 수 없을 때 해결 방법 (1) | 2021.11.06 |
---|---|
remote: Permission to A denied to B (0) | 2021.09.29 |
libpng warning: iccp known incorrect srgb profile 해결 (0) | 2021.09.23 |
PHP에러: Array to string conversion in (0) | 2021.06.24 |
python - SQLite objects created in a thread can only be used in that same thread 해결 (0) | 2021.02.22 |
댓글