lnmp1.3安装php_fileinfo扩展

2017-04-13 admin 41

安装php_fileinfo扩展


cd /root/root/lnmp1.3-full/src/php-5.6.30/ext/fileinfo


/usr/local/php/bin/phpize


./configure --with-php-config=/usr/local/php/bin/php-config


make && make install


修改php.ini配置:加入 extension=”fileinfo.so”