invalid library (maybe not a PHP library) ‘zip.so’ in Unknown on line 0
invalid library (maybe not a PHP library) ‘curl.so’ in Unknown on l本文来源gao@!dai!ma.com搞$$代^@码!网!搞gaodaima代码ine 0
回复内容:
invalid library (maybe not a PHP library) ‘zip.so’ in Unknown on line 0
invalid library (maybe not a PHP library) ‘curl.so’ in Unknown on line 0
<code>PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0</code>
这个消息表示这里没有 “get_module”这个函数在 “zip.so”或”curl.so”动态链接库里.通常是你编译暗黑族昂的时候没配置好的问题.
确保你的php扩展库的文件夹里有这样的定义
<code>#ifdef HAVE_CONFIG_H#include "config.h"#endif</code>
还有这个
<code>#ifdef COMPILE_DL_MYLIBZEND_GET_MODULE(mylib)#endif</code>