[英]Can't install imagick in PHP 8.0.13 with WAMP 3.2.6
I have a problem getting imagick to work in php 8.0.13 with wamp3.2.6.我在使用 wamp3.2.6 在 php 8.0.13 中工作时遇到问题。 I have followed several, several tutorials but none seem to have worked.
我遵循了几个,几个教程,但似乎没有一个有效。
My PHP version is 8.0.13 Architecture: x64 Thread Safety: Enable我的 PHP 版本是 8.0.13 架构:x64 线程安全:启用
For example i followed this tutorial: https://mlocati.github.io/articles/php-windows-imagick.html and it doesn't work either.例如,我遵循了本教程: https://mlocati.github.io/articles/php-windows-imagick.html也不起作用。
However, with this imagick tutorial, it seems that Imagick is installed.但是,通过这个 imagick 教程,似乎已经安装了 Imagick。 When i do
当我做
phpinfo();
So we see that Imagick seems to be installed.所以我们看到似乎已经安装了 Imagick。 But, if i try some PHP code like this:
但是,如果我尝试一些像这样的 PHP 代码:
or或者
nothing is displayed on my web page我的 web 页面上没有显示任何内容
Your help will be much appreciated!您的帮助将不胜感激!
Thanks a lot !非常感谢 ! Pascal
帕斯卡
I fixed my issue...我解决了我的问题...
This webpage is exactly what i did and all is now working这个网页正是我所做的,现在一切正常
https://mlocati.github.io/articles/php-windows-imagick.html https://mlocati.github.io/articles/php-windows-imagick.html
But also, i deleted all PATH containing ImageMagick of all version because i don't use imagemagick .而且,我删除了所有版本的所有包含 ImageMagick 的 PATH ,因为我不使用 imagemagick 。 I only use Imagick in PHP.
我只在 PHP 中使用 Imagick。 Also, i added in PATH, the path of my PHP version
另外,我在PATH中添加了我的PHP版本的路径
Hpe that helps有帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.