在Symfony 4.3上安装CKeditor时遇到问题,当我输入安装CKeditorbundle的命令时,它会将我放在控制台中:
composer require friendsofsymfony / ckeditor-bundle
出现一个错误,控制台回答我:
问题1-symfony/ceditor bundle的friendsofsymfony/keditor bundle^2.2->的安装请求可由ymfony/cditor bundle[2.2.0]的friends满足。-friendsofsymfony/ceditor bundle 2.2.0需要ext zip*->系统中缺少请求的PHP扩展zip。
安装失败,正在删除/composer.json。Air de Clement:$composer需要ymfony/ceditor捆绑包的朋友^5
作曲家对你说the requested PHP extension zip is missing from your system
。你需要安装它。
您可以运行sudo apt-get install php7.VERSION-zip
就像这里说的linux
或者这里是macOS