Home  >  Article  >  Backend Development  >  Linux php安装zip扩展

Linux php安装zip扩展

WBOY
WBOYOriginal
2016-06-23 14:29:141265browse

# wget http://pecl.php.net/get/zip-1.10.2.tgz # tar zxvf zip-1.10.2.tgz # cd zip-1.10.2 # /usr/local/php/bin/phpize 运行了这个zip目录下会自动生成几个文件,其中包括configure # ./configure --with-php-config=/usr/local/php/bin/php-config # make # make install 安装完成后修改一下php.ini # vim /usr/local/php/etc/php.ini 加入 extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/zip.so

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:linux下查找php木马Next article:PHP的开源项目汇总