彪哥💯

Discuz linux系统云服务器安装zip解压模块,php_zip.dll

作者:彪哥💯   发布时间:2016-09-07 15:37   回复数:0   浏览数:252
彪哥💯
2520彪哥💯步入草根
2016-09-07 15:37:02
2520 2016-09-07 15:37:02
[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]
游客
登录后才可以回帖,登录 或者 注册