Closed imannms closed 5 years ago
SOLVED.
Before, I'm call brotli_uncompress()
from CLI and I only enabled brotli for non-cli in /etc/php/7.1/apache2/php.ini
.
After, I enabled brotli for CLI in /etc/php/7.1/cli/php.ini
.
brotli_uncompress()
is worked.
I have installed and enabled brotli in php.ini.
PHP Version 7.1.20-1+ubuntu16.04.1+deb.sury.org+1
result from
phpinfo()
:Brotli
support | enabled
Extension Version | 0.5.2
Library Version | 1.0.4
Error:
Call to undefined function brotli_uncompress()