我懒,大概的写下,意会就行,一半转帖来的,一半常碰到,说说心得,主要是版本全线升级,以前的安装步骤可能都不太适用,然后各种报错都会出来
这个是转帖的,今天装的系统是Red Hat Enterprise Linux Server release 5.3的
顺便把php编译的贴出来(注意这个都要加-dir,不然会不通过,让你去看conf.log 的77***)
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-jpeg-dir=/usr/local --with-
png-dir=/usr/local --with-gd-dir=/usr/local --enable-trace-vars --with-zlib-
dir=/usr/local --enable-shmop --enable-sysvsem--enable-sysvmsg --with-freetype-
dir=/usr/local --with-mysql-dir=/usr/local/mysql --with-mysqli-
dir=/usr/local/mysql/bin/mysql_config --enable-mbstring --with-openssl-
dir=/usr/local/ssl --with-curl-dir=/usr/local --enable-memcache --enable-sockets
1没有,2试验过,确实能解决问题