Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用新的 php8.1 函数是imageavif但抛出错误消息undefined 函数然后打印gdinfo()但未启用 avif 那么如何启用它?
您必须在脚本中编译--enable-gd带有 AVIF 支持 ( ) 的PHP 8.1 GD 扩展 ( )。--with-avif./configure
--enable-gd
--with-avif
./configure
来源:https ://php.watch/versions/8.1/gd-avif