Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ederrafo/55c94a1a74110da4f5b486dbd12b9b4a to your computer and use it in GitHub Desktop.
Save ederrafo/55c94a1a74110da4f5b486dbd12b9b4a to your computer and use it in GitHub Desktop.
composer php7 laravel5
Problem 1
- maatwebsite/excel[3.1.20, ..., 3.1.25] require phpoffice/phpspreadsheet ^1.14 -> satisfiable by phpoffice/phpspreadsheet[1.14.0, ..., 1.28.0].
- maatwebsite/excel[3.1.18, ..., 3.1.19] require phpoffice/phpspreadsheet ^1.10 -> satisfiable by phpoffice/phpspreadsheet[1.10.0, ..., 1.28.0].
- maatwebsite/excel[3.1.7, ..., 3.1.17] require phpoffice/phpspreadsheet ^1.6 -> satisfiable by phpoffice/phpspreadsheet[1.6.0, ..., 1.28.0].
- maatwebsite/excel[3.1.0, ..., 3.1.6] require phpoffice/phpspreadsheet ^1.4 -> satisfiable by phpoffice/phpspreadsheet[1.4.0, ..., 1.28.0].
- maatwebsite/excel[3.1.26, ..., 3.1.35] require illuminate/support 5.8.*|^6.0|^7.0|^8.0 -> satisfiable by illuminate/support[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27].
- maatwebsite/excel[3.1.36, ..., 3.1.45] require illuminate/support 5.8.*|^6.0|^7.0|^8.0|^9.0 -> satisfiable by illuminate/support[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.9].
- maatwebsite/excel[3.1.46, ..., 3.1.48] require illuminate/support 5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0 -> satisfiable by illuminate/support[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.9, v10.0.0, ..., v10.13.5].
- phpoffice/phpspreadsheet[1.4.0, ..., 1.8.2] require ext-zip * -> it is missing from your system. Install or enable PHP's zip extension.
- phpoffice/phpspreadsheet[1.9.0, ..., 1.12.0] require php ^7.1 -> your php version (7.0.33) does not satisfy that requirement.
- phpoffice/phpspreadsheet[1.13.0, ..., 1.14.1] require php ^7.2 -> your php version (7.0.33) does not satisfy that requirement.
- illuminate/support[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (7.0.33) does not satisfy that requirement.
- phpoffice/phpspreadsheet 1.15.0 requires php ^7.2|^8.0 -> your php version (7.0.33) does not satisfy that requirement.
- phpoffice/phpspreadsheet[1.16.0, ..., 1.17.1] require php ^7.2||^8.0 -> your php version (7.0.33) does not satisfy that requirement.
- phpoffice/phpspreadsheet[1.18.0, ..., 1.19.0] require php ^7.2 || ^8.0 -> your php version (7.0.33) does not satisfy that requirement.
- phpoffice/phpspreadsheet[1.20.0, ..., 1.25.2] require php ^7.3 || ^8.0 -> your php version (7.0.33) does not satisfy that requirement.
- phpoffice/phpspreadsheet[1.26.0, ..., 1.28.0] require php ^7.4 || ^8.0 -> your php version (7.0.33) does not satisfy that requirement.
- illuminate/support[v5.8.0, ..., v5.8.36] require php ^7.1.3 -> your php version (7.0.33) does not satisfy that requirement.
- illuminate/support[v6.20.0, ..., v6.20.44, v7.29.0, ..., v7.30.6] require php ^7.2.5|^8.0 -> your php version (7.0.33) does not satisfy that requirement.
- illuminate/support[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (7.0.33) does not satisfy that requirement.
- illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (7.0.33) does not satisfy that requirement.
- illuminate/support[v8.12.0, ..., v8.83.27] require php ^7.3|^8.0 -> your php version (7.0.33) does not satisfy that requirement.
- illuminate/support[v9.0.0, ..., v9.52.9] require php ^8.0.2 -> your php version (7.0.33) does not satisfy that requirement.
- illuminate/support[v10.0.0, ..., v10.13.5] require php ^8.1 -> your php version (7.0.33) does not satisfy that requirement.
- Root composer.json requires maatwebsite/excel ^3.1 -> satisfiable by maatwebsite/excel[3.1.0, ..., 3.1.48].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.0/cli/php.ini
- /etc/php/7.0/cli/conf.d/10-opcache.ini
- /etc/php/7.0/cli/conf.d/10-pdo.ini
- /etc/php/7.0/cli/conf.d/15-xml.ini
- /etc/php/7.0/cli/conf.d/20-calendar.ini
- /etc/php/7.0/cli/conf.d/20-ctype.ini
- /etc/php/7.0/cli/conf.d/20-curl.ini
- /etc/php/7.0/cli/conf.d/20-dom.ini
- /etc/php/7.0/cli/conf.d/20-exif.ini
- /etc/php/7.0/cli/conf.d/20-fileinfo.ini
- /etc/php/7.0/cli/conf.d/20-ftp.ini
- /etc/php/7.0/cli/conf.d/20-gd.ini
- /etc/php/7.0/cli/conf.d/20-gettext.ini
- /etc/php/7.0/cli/conf.d/20-iconv.ini
- /etc/php/7.0/cli/conf.d/20-intl.ini
- /etc/php/7.0/cli/conf.d/20-json.ini
- /etc/php/7.0/cli/conf.d/20-mbstring.ini
- /etc/php/7.0/cli/conf.d/20-mongodb.ini
- /etc/php/7.0/cli/conf.d/20-phar.ini
- /etc/php/7.0/cli/conf.d/20-posix.ini
- /etc/php/7.0/cli/conf.d/20-readline.ini
- /etc/php/7.0/cli/conf.d/20-shmop.ini
- /etc/php/7.0/cli/conf.d/20-simplexml.ini
- /etc/php/7.0/cli/conf.d/20-soap.ini
- /etc/php/7.0/cli/conf.d/20-sockets.ini
- /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.0/cli/conf.d/20-sysvsem.ini
- /etc/php/7.0/cli/conf.d/20-sysvshm.ini
- /etc/php/7.0/cli/conf.d/20-tokenizer.ini
- /etc/php/7.0/cli/conf.d/20-wddx.ini
- /etc/php/7.0/cli/conf.d/20-xmlreader.ini
- /etc/php/7.0/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.0/cli/conf.d/20-xsl.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-zip` to temporarily ignore these required extensions.
solution:::
apt-get install mcrypt php7.0-mcrypt
apt-get upgrade
sudo apt-get update
sudo apt-get install mcrypt php7.0-mcrypt
sudo apt-get install php7.0-gd php7.0-xsl php7.0-intl
sudo apt-get upgrade
sudo apt-get install php-mbstring
sudo apt-get install phpunit
sudo apt-get install php7.0-zip
sudo apt-get install php7.0-zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment