下载ZIP扩展包
wget http://pecl.php.net/get/zip-1.10.2.tgz
tar zxvf zip-1.10.2.tgz
进入解压后的目录,执行
/usr/local/php/bin/phpize
编译
./configure --with-php-config=/usr/local/php/bin/php-config
make
make install
修改php.ini,加入编译后的扩展
下载ZIP扩展包
wget http://pecl.php.net/get/zip-1.10.2.tgz
tar zxvf zip-1.10.2.tgz
进入解压后的目录,执行
/usr/local/php/bin/phpize
编译
./configure --with-php-config=/usr/local/php/bin/php-config
make
make install
修改php.ini,加入编译后的扩展
转载于:https://my.oschina.net/wenhaowu/blog/202510