php8.2 GD拓展问题
jrotty opened this issue · comments
jrotty commented
php.ini文件里;extension=gd
前面的;
我去掉了,然后重启php会报错,
[27-Jan-2024 22:54:55] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'gd' (tried: /Applications/EServer/software/php/php-8.2/lib/php/extensions/no-debug-non-zts-20220829/gd (dlopen(/Applications/EServer/software/php/php-8.2/lib/php/extensions/no-debug-non-zts-20220829/gd, 0x0009): tried: '/Applications/EServer/software/php/php-8.2/lib/php/extensions/no-debug-non-zts-20220829/gd' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/EServer/software/php/php-8.2/lib/php/extensions/no-debug-non-zts-20220829/gd' (no such file), '/Applications/EServer/software/php/php-8.2/lib/php/extensions/no-debug-non-zts-20220829/gd' (no such file)), /Applications/EServer/software/php/php-8.2/lib/php/extensions/no-debug-non-zts-20220829/gd.so (dlopen(/Applications/EServer/software/php/php-8.2/lib/php/extensions/no-debug-non-zts-20220829/gd.so, 0x0009): tried: '/Applications/EServer/software/php/php-8.2/lib/php/extensions/no-debug-non-zts-20220829/gd.so' (no such file), '/System/...
网站里使用imagecreatefromwebp
也报错Call to undefined function imagecreatefromwebp()
我是Mac arm的版本
xianyun Leo commented
由于编译遗漏。此问题将在 v3.0 修复
jrotty commented
谢谢大佬