PHP and Composer Error

Solved
fopefoluwagbosibo

Feb 4th, 2022 07:32 PM

Do you think a video of you actually following all the actual steps in the cloning of the application can be replicated ? I have been trying to just even do clone and get wave to run locally, however keep running into composer and PHP errors like some of this :

Problem 1 - composer/ca-bundle is locked to version 1.2.11 and an update of this package was not requested. - composer/ca-bundle 1.2.11 requires ext-openssl * -> it is missing from your system. Install or enable PHP's openssl extension. Problem 2 - intervention/image is locked to version 2.6.1 and an update of this package was not requested. - intervention/image 2.6.1 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. Problem 3 - laravel/framework is locked to version v8.62.0 and an update of this package was not requested. - laravel/framework v8.62.0 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. Problem 4 - lcobucci/jwt is locked to version 3.2.5 and an update of this package was not requested. - lcobucci/jwt 3.2.5 requires ext-openssl * -> it is missing from your system. Install or enable PHP's openssl extension. Problem 5 - league/commonmark is locked to version 2.0.2 and an update of this package was not requested. - league/commonmark 2.0.2 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. Problem 6 - league/flysystem is locked to version 1.1.5 and an update of this package was not requested. - league/flysystem 1.1.5 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. Problem 7 - league/mime-type-detection is locked to version 1.8.0 and an update of this package was not requested. - league/mime-type-detection 1.8.0 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. Problem 8 - facade/ignition is locked to version 2.13.1 and an update of this package was not requested. - facade/ignition 2.13.1 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. Problem 9 - php-webdriver/webdriver is locked to version 1.11.1 and an update of this package was not requested. - php-webdriver/webdriver 1.11.1 requires ext-curl * -> it is missing from your system. Install or enable PHP's curl extension. Problem 10 - phpunit/phpunit is locked to version 9.5.10 and an update of this package was not requested.
- phpunit/phpunit 9.5.10 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. Problem 11 - laravel/framework v8.62.0 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. - pestphp/pest-plugin-laravel v1.1.0 requires laravel/framework ^7.0 || ^8.0 -> satisfiable by laravel/framework[v8.62.0]. - pestphp/pest-plugin-laravel is locked to version v1.1.0 and an update of this package was not requested.

While I tried to fix some of them my switch between multiple PHP versions because the latest PHP cannot run the intervention\image, I also tried to uncomment out the the fileinfo extensions in PHP but that leads to another set of errors.

bobbyiliev

Feb 6th, 2022 03:37 AM

Best Answer

Hello,

The error that you are getting is due to the missing PHP fileinfo extension. You need to make sure that you have it installed.

Also as of the time being Wave uses PHP 8.0 so you need to have that installed in order to be able to run it.

This means that you need to have PHP fileinfo installed for PHP 8.0.

After that if you are getting any other errors, can ou share them here?

Best,

Bobby

Report
1
thinkverse

Feb 6th, 2022 06:19 AM

Your PHP installation also seems to be missing the openssl, mbstring and PHP's curl extensions. Which are requirements by Composer, Laravel and Laravel's internals.

Report
1