Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

5.12. zip

cd /usr/src/php-5.2.14/ext/zip/

/usr/local/php-5.2.14/bin/phpize
./configure --with-php-config=/usr/local/php-5.2.14/bin/php-config
make
make install
mv /usr/local/php-5.2.14/lib/php/extensions/no-debug-non-zts-20060613/zip.so /usr/local/php-5.2.14/lib/php/extensions/


vim /usr/local/php-5.2.14/etc/php.ini
extension_dir = "/usr/local/php-5.2.14/lib/php/extensions/"
extension=zip.so

/usr/local/php-5.2.14/bin/php -m | grep zip
		
comments powered by Disqus