apache+php+mysql+gd的安装方法

发布时间:2021-07-27 11:43 来源:亿速云 阅读:0 作者:chen 栏目: Mysql 欢迎投稿:712375056

本篇内容介绍了“apache+php++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.

免责声明:本站发布的内容(图片、视频和文字)以原创、来自本网站内容采集于网络互联网转载等其它媒体和分享为主,内容观点不代表本网站立场,如侵犯了原作者的版权,请告知一经查实,将立刻删除涉嫌侵权内容,联系我们QQ:712375056,同时欢迎投稿传递力量。