LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 486|回复: 1

求救PHP

[复制链接]
发表于 2005-3-27 13:17:54 | 显示全部楼层 |阅读模式
编译PHP5.03的时候出现这个问题,
[root@localhost php-5.0.3]# ./configure
--with-apxs2filter=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql
--with-sysconf-patp=/etc/httpd
--with-zlib=/usr/local/zlib
--with-gd=/usr/local/gd
--with-system-regex

configure: error: mysql configure failed. Please check config.log for more information.

去掉--with-mysql=/usr/local/mysql编译则没有问题
我是在turbolinux10桌面版环境下编译的
发表于 2005-3-27 15:24:47 | 显示全部楼层
你看看也许是你的mysql的库文件的位置不对吧,我也遇到过这个问题,在把mysql目录下的lib里的东西作个链接到/usr/lib目录下或是/usr/loca/lib之类的目录下就可以了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表