ext-imagick *->您的系统缺少所需的PHP扩展名imagick [英] ext-imagick * -> the requested PHP extension imagick is missing from your system
问题描述
我在为laravel安装devisephp时遇到问题.我正在使用php7开发最新版本的宅基.当我进行作曲家更新时,出现以下错误.
I have trouble installing devisephp for laravel. I am working on the latest version of homestead with php7. when i do composer update i get the following error.
Problem 1
- Installation request for devisephp/cms 1.4.* -> satisfiable by devisephp/cms[1.4.0].
- devisephp/cms 1.4.0 requires ext-imagick * -> the requested PHP extension imagick is missing from your system.
收到此消息后,我在我的宅基地环境中安装了imagick,在cli和fpm中将扩展名添加到php.ini中,并检查了宅基地是否imagick正在使用测试文件.一切工作正常,但是在运行作曲家更新时,我仍然从上面收到相同的错误消息.有谁知道这个问题可能是什么.
After having this message i installed imagick on my homestead environment added the extension to php.ini in cli and fpm and checked in homestead if imagick is working with a test file. Everything was working perfectly but on running composer update i still get the same error message from above. Does anyone have a clue what the problem can be.
最糟糕的是kan git clone devisephp,它的引导程序版本完全可以工作,包括图像处理,但是当我向laravel添加另一个软件包时,我再次收到上述消息.
The stange thing is that is kan git clone devisephp its bootstrap version completely working including image handling but when i add another package to laravel i again get the above message.
推荐答案
如果您确实无法安装或不希望对该扩展程序进行验证,则可以通过提供
if you really can't install or don't want that extension to be validated you may skip it by supplying the
--ignore-platform-reqs
您的作曲家命令的标志
这篇关于ext-imagick *->您的系统缺少所需的PHP扩展名imagick的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!