apache+php+mysql+gd安装

编译安装php5.2.0时出错解决方案   1.错误信息...................如下   checking for mcrypt support... no   checking for mhash support... no   checking whether to include mime_magic support... no   checking for MING 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... /tmp/mysql.sock   checking for MySQL UNIX socket location... /tmp/mysql.sock   checking for mysql_close in -lmysqlclient... no   checking for mysql_error in -lmysqlclient... no   configure: error: mysql configure failed. Please check config.log for more information.   2.解决方法:   如果是自己选择GZ包安装的MYSQL。这里要加路径。   加的方法为--with-mysql-dir=/user/local/mysql   切记不可写为:--with-mysql=/user/local/mysql   a、checking lex output file root... ./configure: line 2425: lex: command not found   configure: error: cannot find output from lex; giving up   缺少flex-2.5.4a-29.i386.rpm,从linux 9.0光盘中找到flex-2.5.4a-29.i386.rpm,安装,重新编译php,ok.[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/378829/viewspace-1019464/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/378829/viewspace-1019464/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值