'how to enable "imageavif" in PHP8.1
I using the the new php8.1 function is imageavif but that throw error message undefined function and then print the gdinfo() but avif is not enabled so how to enable it?
Solution 1:[1]
You must compile PHP 8.1 GD extension (--enable-gd) with AVIF support (--with-avif) in the ./configure script.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | user83129 |
