So my error is
Call to undefined function imagewebp()
I tried this command brew reinstall php72 --with-webp
, but it does not work anymore.
I don't know where and how I should change my conf file.
If you have an idea, thank you
So my error is
Call to undefined function imagewebp()
I tried this command brew reinstall php72 --with-webp
, but it does not work anymore.
I don't know where and how I should change my conf file.
If you have an idea, thank you
GD already is in mac, you don't need install it. update your homebrew and install webp manually. and after that php72
> brew update
> brew install webp
> brew reinstall php72 --with-webp
if not work try install without --with-webp how you install it manually maybe you don't need that parameter
> brew reinstall php72
and if all fail comment your osx version please.
You should have the GD
extension enabled: extension=gd2
in your php.ini
.
To find out where your ini files are you can either use phpinfo
in an script or use php --ini
in cli to get its configs.