免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2388 | 回复: 0
打印 上一主题 下一主题

Linux把PHP的扩展编译成so文件不能装载,core_globals不明。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-20 21:12 |只看该作者 |倒序浏览
最近Linux编译PHP,我把mysql编译成了so,在php.ini中也设置了
extension=mysql.so
可是phpinfo()显示没有mysql的支持,求助!
编译选项
'./configure' '--prefix=/home/zhen/php/php51' '--with-apxs2=/home/zhen/apache22/bin/apxs' '--enable-fastcgi' '--enable-calendar' '--enable-bcmath' '--with-libxml-dir' '--with-zlib' '--with-bz2' '--enable-ftp' '--with-gd=shared' '--with-jpeg-dir' '-with-png-dir' '--with-xpm-dir' '--with-freetype-dir' '--enable-gd-native-ttf' '--with-ldap=shared' '--with-mysql=shared,/home/zhen/mysql50/' '--with-pdo-mysql=shared,/home/zhen/mysql50/' '--enable-soap' '--enable-mbstring' '--enable-maintainer-zts' '--enable-shared'

执行
./php -v
显示:
PHP Warning:  PHP Startup: Unable to load dynamic library '/home/zhen/php/php51/lib/php/extensions/no-debug-non-zts-20050922/mysql.so' - /home/zhen/php/php51/lib/php/extensions/no-debug-non-zts-20050922/mysql.so: undefined symbol: core_globals in Unknown on line 0

求问core_globals何解



[ 本帖最后由 kytexzy 于 2008-3-20 21:35 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP