Using version ^1.11 for phpoffice/phpspreadsheet
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-zip * is missing from your system. Install or enable PHP's zip extension.
Problem 2
- Installation request for phpoffice/phpspreadsheet ^1.11 -> satisfiable by phpoffice/phpspreadsheet[1.11.0].
- phpoffice/phpspreadsheet 1.11.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
Installation failed, reverting ./composer.json to its original content.
basith@ABDUL-BASITH nss_medipro_web % composer require phpoffice/phpspreadsheet
PHP Warning: PHP Startup: Unable to load dynamic library 'php_zip.dll' (tried: /usr/lib/php/extensions/no-debug-non-zts-20180731/php_zip.dll (dlopen(/usr/lib/php/extensions/no-debug-non-zts-20180731/php_zip.dll, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20180731/php_zip.dll), /usr/lib/php/extensions/no-debug-non-zts-20180731/php_zip.dll.so (dlopen(/usr/lib/php/extensions/no-debug-non-zts-20180731/php_zip.dll.so, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20180731/php_zip.dll.so)) in Unknown on line 0
Using version ^1.11 for phpoffice/phpspreadsheet
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-zip * is missing from your system. Install or enable PHP's zip extension.
Problem 2
- Installation request for phpoffice/phpspreadsheet ^1.11 -> satisfiable by phpoffice/phpspreadsheet[1.11.0].
- phpoffice/phpspreadsheet 1.11.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
Thanks for submitting the ticket. Unfortunately the information you provided is incomplete. We need to know which version you use and how to reproduce it. Please include code examples. Before we can pick it up, please check (https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/ISSUE_TEMPLATE.md) and add the missing information. To make processing of this ticket a lot easier, please make sure to check (https://laravel-excel.maatwebsite.nl/3.1/getting-started/contributing.html) and double-check if you have filled in the issue template correctly. This will allow us to pick up your ticket more efficiently. Issues that follow the guidelines correctly will get priority over other issues.
The requested PHP extension ext-zip * is missing from your system. Install or enable PHP's zip extension.
this issue close by using
The requested PHP extension ext-zip * is missing from your system. Install or enable PHP's zip extension.
thank u, the issue solved by installing PHP 7.4.2,
The requested PHP extension ext-zip * is missing from your system. Install or enable PHP's zip extension.
sudo apt install php7.4-gd php7.4-zip
Also, do not runcomposerassudo
Most helpful comment
The requested PHP extension ext-zip * is missing from your system. Install or enable PHP's zip extension.