您的位置:首页 > 运维架构 > Linux

linux下面安装PHP时,提示:configure: error: Cannot find MySQL header files

2010-10-23 21:49 971 查看
./configure --with-mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --with-xml

.........................................
checking for msession support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... /tmp/mysql.sock
configure: error: Cannot find MySQL header files under yes
昵称: chengxin119  时间: 2003-01-23 21:43:00

很长时间没进村子了,没想到现在有多了很多不熟悉的朋友.
新朋友们?能帮我吗?
昵称: chengxin119  时间: 2003-01-23 21:46:00

up,up

昵称: chengxin119  时间: 2003-01-24 02:30:00

./configure --with-mysql=/usr/local/mysql(你的安装mysql的prefix) --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --with-xml
昵称: hisunweb  时间: 2003-01-24 02:35:00

太感谢了,我来试一下.
昵称: chengxin119  时间: 2003-01-24 03:01:00

测试成功了,到现在为止,已经成功地在LINUX上安装了最新的服务器环境:apache2.0.47+php5+mysql4.1,朋友们需要我写出配置过程么?
昵称: chengxin119  时间: 2003-01-24 13:44:00

不用了吧。呵呵。好像你的PHP配置时没有加上
gd,shmop,socket,支持哦。

而且PHP5正式版还没出来呢。期待PHP4.3.4

MySQL4.1也是alpha版,还是用4.0.15吧

apache2.0.47的apachebenck在redhat9上面运行不起来,怪。
昵称: hisunweb  时间: 2003-01-24 13:52:00
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐