1打开网址下载扩展包 https://pecl.php.net/package/msgpack
直接下载地址:https://pecl.php.net/get/msgpack-2.0.3.tgz
wget https://pecl.php.net/get/msgpack-2.0.3.tgz
2 解压 tar xf msgpack-2.0.3.tgz 进入解压目录 cd msgpack-2.0.3/
3编译
(1)/www/server/php/72/bin/phpize
(2)./configure --with-php-config=/www/server/php/72/bin/php-config
(3)make && make install
4安装结束后打开php.ini 加入msgpack.so
; extension_dir = “ext”
extension = /www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/msgpack.so
来源:CSDN
作者:info987623
链接:https://blog.csdn.net/qq_28098919/article/details/90126487