发新话题
打印

请教关于Linux+apache+php的安装问题

请教关于Linux+apache+php的安装问题

我用的是Redhat 8.0
我在网上下了apache 1.3.28 ,php 5.0可是在编译的时候现在问题:
   1. gzip -d -c apache_1.3.28.tar.gz | tar xvf -
   2. gzip -d -c php-5.0.0b1.tar.gz | tar xvf -
   3. cd apache_1.3.28
   4. ./configure --prefix=/www
   5. cd ../php-5.0.0b1
   6. ./configure --with-mysql --with-apache=../apache_1.3.28 --enable-track-vars
可是出现以下错误:
...
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under yes

这是什么原因啊,请大家帮忙啊!!!      

TOP

你的系统还没有安装或者没有正确安装MYSQL咯,
删除 --with-mysql 这个可以      

TOP

发新话题