联系官方销售客服
1835022288
028-61286886
安装 phpexcel 报错
https://www.xunruicms.com/doc/1026.html
执行
composer require phpoffice/phpspreadsheet
报错
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Using version ^1.17 for phpoffice/phpspreadsheet
./composer.json has been created
Running composer update phpoffice/phpspreadsheet
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpoffice/phpspreadsheet[1.17.0, ..., 1.17.1] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
- Root composer.json requires phpoffice/phpspreadsheet ^1.17 -> satisfiable by phpoffice/phpspreadsheet[1.17.0, 1.17.1].
To enable extensions, verify that they are enabled in your .ini files:
- /www/server/php/74/etc/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Installation failed, deleting ./composer.json.
能下载了,但是卡在这里怎么回事