PHP | php擴展安裝Api Version不匹配問題

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

解決方法1: 查看/usr/bin/phpize -v的Api信息是否和php -i | grep extension_dir的信息一致,不一致重新安裝phpx-dev(x代表php大版本)

解決方法2: 下載的拓展和你的php版本不符合;(http://blog.csdn.net/zhezhebie/article/details/72742496)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章