如何安装php5的zip支持
已完整安装wdcp2.4,查看phpinfo发现没有包含zip的支持,现在环境已搭好,如何进行添加,而不重装? [url]http://www.wdlinux.cn/bbs/thread-1356-1-1.html[/url] [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=8884&ptid=2524]2#[/url] [i]admin[/i] [/b]
问题解决,多谢!{:2_37:} [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=9447&ptid=2524]3#[/url] [i]ahjar[/i] [/b]
请问你是怎么解决的呢? 我也遇到这个问题了 ,直接安装就可以吗?我的不行哦,phpinfo也没有zip信息 [b]回复 [url=http://wdlinux.cn/bbs/redirect.php?goto=findpost&pid=11586&ptid=2524]4#[/url] [i]scofier[/i] [/b]
[size=12px][table=98%]
[tr][td]php zip的支持
wget -c [url=http://down.wdlinux.cn/in/zip_ins.sh]http://down.wdlinux.cn/in/zip_ins.sh[/url]
chmod 755 zip_ins.sh
./zip_ins.sh[/td][/tr]
[/table][/size] 这是什么原因啊[code]/tmp/php-5.4.6/ext/zip/php_zip.c:776: 错误:‘PHP_FE_END’未声明(不在函数内)
/tmp/php-5.4.6/ext/zip/php_zip.c:865: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/tmp/php-5.4.6/ext/zip/php_zip.c:907: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/tmp/php-5.4.6/ext/zip/php_zip.c:955: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/tmp/php-5.4.6/ext/zip/php_zip.c: 在函数‘php_zip_get_properties’中:
/tmp/php-5.4.6/ext/zip/php_zip.c:1024: 警告:赋值时将整数赋给指针,未作类型转换
/tmp/php-5.4.6/ext/zip/php_zip.c: 在文件层:
/tmp/php-5.4.6/ext/zip/php_zip.c:1185: 警告:初始化丢弃了指针目标类型的限定
/tmp/php-5.4.6/ext/zip/php_zip.c: 在函数‘zm_startup_zip’中:
/tmp/php-5.4.6/ext/zip/php_zip.c:2770: 错误:‘php_zip_get_property_ptr_ptr’未声明(在此函数内第一次使用)
/tmp/php-5.4.6/ext/zip/php_zip.c:2770: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
/tmp/php-5.4.6/ext/zip/php_zip.c:2770: 错误:所在的函数内也只报告一次。)
/tmp/php-5.4.6/ext/zip/php_zip.c:2770: 警告:从不兼容的指针类型赋值
/tmp/php-5.4.6/ext/zip/php_zip.c:2773: 错误:‘php_zip_read_property’未声明(在此函数内第一次使用)
/tmp/php-5.4.6/ext/zip/php_zip.c:2773: 警告:从不兼容的指针类型赋值
/tmp/php-5.4.6/ext/zip/php_zip.c:2774: 错误:‘php_zip_has_property’未声明(在此函数内第一次使用)
/tmp/php-5.4.6/ext/zip/php_zip.c:2774: 警告:从不兼容的指针类型赋值
/tmp/php-5.4.6/ext/zip/php_zip.c:2776: 警告:赋值丢弃了指针目标类型的限定
make: *** [php_zip.lo] 错误 1
[root@localhost 桌面]#
[/code]
页:
[1]