邪恶漫画 配种牧场:安装php5时候出错了

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/29 11:11:46
......
checking whether to enable multibyte regex support... yes
checking for external libmbfl... no
checking for mcrypt support... no
checking for MCVE support... no
checking OpenSSL dir for MCVE... no
checking for mhash support... no
checking whether to include mime_magic support... no
checking for MING support... no
checking for mnoGoSearch support... no
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... /var/lib/mysql/mysql.sock
checking for mysql_close in -lmysqlclient... no
checking for mysql_errno in -lmysqlclient... no
configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for
more information.
[root@zhoo php-5.0.4]#

上述是在安装php5时候,出现的错误.以安装过mysql5.0、libxml和apache。平台是linux9。

系统里安装 zlib-devel 包了吗?
装 RPM 或者自己下载源码编译安装即可,之后需要根据提示修改配置参数
zlib的在安装光盘里面有哈