Laravelでcomposer installがエラーになります
composer installすると
error
1Verifying lock file contents can be installed on current platform. 2Your lock file does not contain a compatible set of packages. Please run composer update. 3 4 Problem 1 5 - yajra/laravel-oci8 is locked to version v6.1.2 and an update of this package was not requested. 6 - yajra/laravel-oci8 v6.1.2 requires ext-oci8 >=2.0.0 -> it is missing from your system. Install or enable PHP's oci8 extension. 7 8To enable extensions, verify that they are enabled in your .ini files: 9 - /Applications/MAMP/bin/php/php7.4.16/conf/php.ini 10You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
となるので、composer updateをすると
error
1Loading composer repositories with package information 2Updating dependencies 3Your requirements could not be resolved to an installable set of packages. 4 5 Problem 1 6 - Root composer.json requires yajra/laravel-oci8 6.1.2 -> satisfiable by yajra/laravel-oci8[v6.1.2]. 7 - yajra/laravel-oci8 v6.1.2 requires ext-oci8 >=2.0.0 -> it is missing from your system. Install or enable PHP's oci8 extension. 8 9To enable extensions, verify that they are enabled in your .ini files: 10 - /Applications/MAMP/bin/php/php7.4.16/conf/php.ini 11You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
composer.json
1{ 2 "name": "laravel/laravel", 3 "type": "project", 4 "description": "The Laravel Framework.", 5 "keywords": [ 6 "framework", 7 "laravel" 8 ], 9 "license": "MIT", 10 "require": { 11 "php": "^7.2.5|^8.0", 12 "barryvdh/laravel-snappy": "0.4.8", 13 "fideloper/proxy": "^4.4", 14 "laravel/framework": "^6.20", 15 "laravel/tinker": "^2.5", 16 "simplesoftwareio/simple-qrcode": "4.2.0", 17 "yajra/laravel-oci8": "6.1.2" 18 }, 19 "require-dev": { 20 "facade/ignition": "^1.16.4", 21 "fakerphp/faker": "^1.9.1", 22 "laravel/ui": "1.*", 23 "mockery/mockery": "^1.0", 24 "nunomaduro/collision": "^3.0", 25 "phpunit/phpunit": "^8.5.8|^9.3.3" 26 }, 27 "config": { 28 "optimize-autoloader": true, 29 "preferred-install": "dist", 30 "sort-packages": true 31 }, 32 "extra": { 33 "laravel": { 34 "dont-discover": [] 35 } 36 }, 37 "autoload": { 38 "psr-4": { 39 "App\\": "app/" 40 }, 41 "classmap": [ 42 "database/seeds", 43 "database/factories" 44 ] 45 }, 46 "autoload-dev": { 47 "psr-4": { 48 "Tests\\": "tests/" 49 } 50 }, 51 "minimum-stability": "dev", 52 "prefer-stable": true, 53 "scripts": { 54 "post-autoload-dump": [ 55 "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 56 "@php artisan package:discover --ansi" 57 ], 58 "post-root-package-install": [ 59 "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 60 ], 61 "post-create-project-cmd": [ 62 "@php artisan key:generate --ansi" 63 ] 64 } 65} 66
となります。ここで詰まってしまって進めていないです。
もしわかる方いましたらご教授いただけると幸いです。