|
|
郁闷!装了这么多次从来没有遇到这个问题!!
apache 和mysql5都装好了! 在编译php5的时候出了问题
- [root@myvm php-5.1.4]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
- .............................
- ..............................
- ...............................
- 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... no
- checking for MySQL UNIX socket location... no
- checking for mysql_close in -lmysqlclient... no
- checking for mysql_errno in -lmysqlclient... no
- [color=red]configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.
- [/color]
复制代码
在网上就找到一篇关于--with-zlib-dir 的文章,说没有装 zlib包但是我的已经装了!
- [root@myvm php-5.1.4]# rpm -qa |grep zlib
- zlib-1.2.1.2-1
- zlib-devel-1.2.1.2-1
- [root@myvm php-5.1.4]#
复制代码
急需帮助谢谢,再现等侯,谢谢。 |
|