php扩展安装范例
php扩展安装:
安装bcmath:
/usr/local/php/bin/phpize //指定路径
./configure //可查找路径
./configure --with-php-config=/usr/local/php/bin/php-config //安装
make
make install
vi /usr/local/php/etc/php.ini
添加:(shift+g)
extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/ftp.so
killall -9 php-fpm
/usr/local/php/sbin/php-fpm