PHP extension installation Api Version mismatch problem

PHP Warning:  PHP Startup: protocolbuffers: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20131226
These options need to match
 in Unknown on line 0

Solution: Check whether the Api information of /usr/bin/phpize -v is consistent with the information of php -i | grep extensino_dir, if inconsistent, reinstall phpx-dev (x represents the major version of php)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325850261&siteId=291194637