我有“Ubuntu16.04LTS”操作系统,并试图使用命令安装phpoffice/phpspreadsheet:
sudo apt-get install php7.0-phpoffice/phpspreadsheet获取错误消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0-phpoffice
E: Couldn't find any package by glob 'php7.0-phpoffice'
E: Couldn't find any package by regex 'php7.0-phpoffice'发布于 2018-09-18 07:37:13
扩展gd是必需的,我在php7.0版本中找不到这个包。用于安装扩展名gd的以下命令。
sudo apt-add-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.0
sudo apt-get install php7.0-gd然后我们可以使用composer require phpoffice/ Then电子表格。
发布于 2018-09-17 13:31:24
Ubuntu软件包包搜索结果: Php7.0-phpoffice/php7.0电子表格 抱歉,你的搜索没有结果
。
PHP软件包库: Php7.0-phpoffice/php7.0电子表格 PHPSpreadsheet -在PHP -电子表格引擎中读取、创建和写入电子表格文档
composer require phpoffice/phpspreadsheethttps://stackoverflow.com/questions/52368722
复制相似问题