Skip to content

PHP Startup: brotli: Unable to initialize module #19

@peixotorms

Description

@peixotorms

Hi there,

I installed php-ext-brotli on PHP 7.2 and I got this error when I run php -v on ubuntu 18.04

PHP Warning:  PHP Startup: brotli: Unable to initialize module
Module compiled with module API=20180731
PHP    compiled with module API=20170718
These options need to match
 in Unknown on line 0
PHP 7.2.16-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Mar  7 2019 20:23:29) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.16-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions