I'm looking to install Brotli php extension on my Windows Server 2022 server as it offer ~15% better compression performance than Gzip. But I really can't find a proper way to install it. Any suggestion ?
I did install Brotli on my IIS server already.
Now, I need to install the PHP extension to make my Wordpress cache plugin work properly as it asks for it.
I tried to find a DLL which I did at SourceForge but my PHP doesn't recognize it:
`PHP Warning: PHP Startup: Unable to load dynamic library 'brotli' (tried: C:\php\ext\brotli (The specified module could not be found), C:\php\ext\php_brotli.dll (The specified module could not be found)) in Unknown on line 0`[PHP Modules]". The file is there and the folder has all the permissions. I changed the php.ini extension directory to the full path but it changes nothing.
I also tried to install it through PECL but I have the following error :
downloading brotli-0.15.0.tgz ... Starting to download brotli-0.15.0.tgz (468,436 bytes) ..............................................................................................done: 468,436 bytes 95 source files, building ERROR: The DSP brotli.dsp does not exist.
extension=curl extension=brotli ;extension=ffi ;extension=ftp ;extension=fileinfo extension=gd ;extension=gettext ;extension=gmp ;extension=intl ;extension=imapetcextension=brotlicommon.dll extension=brotlidec.dll extension=brotlienc.dllto php.ini extensions. But nothing is dedicated to Brotli when I do a phpinfo(); Not sure if I'm doing it the proper way..