Issues with ini file - ext-zip and ext-intl not found
-
I am installing the base Bagisto before installing the B2B marketplace. But I am getting the following PHP extension issue. I am loading this locally on a mac with AMPPS loaded. The extension is active in ampps, the php.ini file had the intl code commented out and I have uncommented that. I have restarted AMPPS. I am still getting the same thing.
I ran php -i and found that my ini file wasn't being used, it is not using the one it should from AMPPS, it is trying to use one from my private folder on my machine in an etc folder, but there isn't one there. When I add one it still doesn't work.
Not sure what to do next! I had a problem a couple of weeks back as I had somehow got two instances of Apache loaded (local one and AMPPS). I removed the local one and reinstalled AMPPS and that solved the issue at the time. Wonder if this is connected, not sure what to do.
Any help would be great.
Error:
jonathanharrison@Jonathans-MBP bagisto % composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.Problem 1
- The requested PHP extension ext-intl * is missing from your system. Install or enable PHP's intl extension.
Problem 2 - Installation request for phpoffice/phpspreadsheet 1.13.0 -> satisfiable by phpoffice/phpspreadsheet[1.13.0].
- phpoffice/phpspreadsheet 1.13.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
Problem 3 - Installation request for php-webdriver/webdriver 1.8.2 -> satisfiable by php-webdriver/webdriver[1.8.2].
- php-webdriver/webdriver 1.8.2 requires ext-zip * -> the requested PHP extension zip is missing from your system.
Problem 4 - phpoffice/phpspreadsheet 1.13.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
- maatwebsite/excel 3.1.19 requires phpoffice/phpspreadsheet ^1.10 -> satisfiable by phpoffice/phpspreadsheet[1.13.0].
- Installation request for maatwebsite/excel 3.1.19 -> satisfiable by maatwebsite/excel[3.1.19].
- The requested PHP extension ext-intl * is missing from your system. Install or enable PHP's intl extension.
-
Hi @Jonathan ,
please go through with the following link:
https://forums.bagisto.com/topic/1104/getting-error-with-composer-install/2 -
-
Hi Naresh,
I have already tried that and it didnt make any difference.
-
@Jonathan
if the intl extension is correctly configured then you may check this by adding info.php file inside the document root directory and then hit.
https://prnt.sc/uuqfsu