php-ext-brotli icon indicating copy to clipboard operation
php-ext-brotli copied to clipboard

Install Brotli PHP extension on cPanel server

Open karimaziz opened this issue 6 years ago • 5 comments

Hello,

Anyone has an idea how to install the Brotli PHP Extension on a cPanel server? It's not showing up in PEAR, PECL or EasyApache 4...

Thanks!

karimaziz avatar Feb 15 '19 23:02 karimaziz

You have to build and install it yourself from the command line.

kjdev avatar Feb 17 '19 23:02 kjdev

What kjdev is saying is to load PuTTY and follow the directions in the readme.

jabcreations avatar Apr 01 '19 21:04 jabcreations

I'm having this error on my cPanel server

Use of uninitialized value $cwd in string ne at /var/cpanel/ea4/ea_php_cli.pm line 322. Use of uninitialized value $cwd in string eq at /var/cpanel/ea4/ea_php_cli.pm line 325. Could not determine path to lookup PHP setting for based on arguments

Hany28 avatar Dec 07 '22 11:12 Hany28

@Hany28 Those are cPanel errors, you need to inquire at the cPanel forums: https://forums.cpanel.net/

jabcreations avatar Dec 16 '22 01:12 jabcreations

There's PECL release now https://pecl.php.net/package/brotli

andypost avatar Aug 04 '23 00:08 andypost