lnmp1.5安装fileinfo扩展

cd /usr/local/src
cd lnmp1.5-full/src
tar xvf php-7.2.6.tar.bz2
cd php-7.2.6/ext/fileinfo
phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
vim /usr/local/php/etc/php.ini
    extension=/usr/local/php/lib/php/extensions/no-debug-zts-20131226/fileinfo.so

 

posted @ 2018-08-16 13:00  邹柯  阅读(2007)  评论(0编辑  收藏  举报