[p=25, null, left][color=rgb(51, 51, 51)]SSH登上Linux服务器,依次输入命令[/p]
[p=25, null, left][color=rgb(51, 51, 51)]wget http://pecl.php.net/get/zip-1.10.2.tgz [/p][p=25, null, left][color=rgb(51, 51, 51)]tar zxvf zip-1.10.2.tgz [/p][p=25, null, left][color=rgb(51, 51, 51)]cd zip-1.10.2[/p][p=25, null, left][color=rgb(51, 51, 51)]/www/wdlinux/php/bin/phpize[/p]
[p=25, null, left][color=rgb(51, 51, 51)]./configure --with-php-config=/www/wdlinux/php/bin/php-config [/p][p=25, null, left][color=rgb(51, 51, 51)]make [/p][p=25, null, left][color=rgb(51, 51, 51)]make install[/p]
[p=25, null, left][color=rgb(51, 51, 51)]最后一步很关键,打开PHP.INI这个文件,在最后面加上以下[/p][p=25, null, left][color=rgb(51, 51, 51)]extension=/www/wdlinux/php/lib/php/extensions/no-debug-non-zts-20060613/zip.so[/p][p=25, null, left][color=rgb(51, 51, 51)]再重启服务器即可[/p]