因为某些原因,需要安装php.5.2版,5.3和5.4可以成功安装,但是5.2装不上
系统是centos6.4
我下载了wget http://museum.php.net/php5/php-5.2.17.tar.gz
tar -zxvf php-5.2.17.tar.gz
./configure  --prefix=/usr/local/php5 --with-config-file-path=/usr/local/lib --with-apxs2=/usr/sbin/apxs --with-mysql  --with-gd --with-mcrypt --enable-mbstring -enable-cli提示我
Cannot find MySQL header files under
那应该是mysql-devel没有安装
然后
yum install mysql-devel
提示我以下代码
Error: Package: krb5-devel-1.10.3-10.el6_4.4.i686 (updates)
           Requires: libselinux-devel
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
照理应该说krb5-devel和libselinux-devel的问题
rpm -qa|grep mysql-devel
rpm -qa|grep libselinux-devel
rpm -qa|grep krb5-devel
在系统中搜索不到这三个的安装
然后执行下面的安装
yum install mysql-devel
yum install libselinux-devel
yum install krb5-devel
均提示
Error: Package: krb5-devel-1.10.3-10.el6_4.4.i686 (updates)
           Requires: libselinux-devel
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest不知道什么原因了,麻烦各位大虾指点指点,我是linux新手