小编use*_*985的帖子

PHP 警告:PHP 启动:imagick:无法初始化模块

我读过类似的问题,但我相信我的解决方案可能是新的:

我最近将 Windows 10 升级到 PHP 8.2.1,今天我添加extension=ext/php_imagickphp.ini,运行时php -v出现以下错误:

Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20210902
PHP    compiled with module API=20220829
These options need to match
Run Code Online (Sandbox Code Playgroud)

我尝试降级到 PHP 8.1,但模块 API 版本仍然较新,而且我一直在从声称与 PHP 8.2 兼容的来源下载 Imagick...

我尝试按照本指南从各种来源安装最新版本的 Imagick ,但我不断收到错误。

考虑到可能还没有使用最新模块API编译的Imagick官方打包版本,我一直按照这个指南自己编译Imagick,我将bin文件夹URL放入Path中,重新启动命令提示符,这次收到错误:

the procedure entry point MagickSetSeed could not be located
Run Code Online (Sandbox Code Playgroud)

那是我一整天的时间,我没有想法......

php windows dll version imagick

11
推荐指数
1
解决办法
6373
查看次数

标签 统计

dll ×1

imagick ×1

php ×1

version ×1

windows ×1