php 补充编译 添加模块

1在php的编译源包目录下找到ext,在ext中找到要编译的模块
使用php安装目录下的bin/phpize 生成configure文件
2执行执行 ./configure –with-php-config=/usr/local/php/bin/php-config
make
make install
然后到php.ini中将要添加的模块释放出来就ok了,最后重启php-fpm

原文地址:https://www.cnblogs.com/tylf-lk/p/10133480.html