- wzwen2010-08-29论坛元老329
系统是debian5.0
首先是mysql,昨天用licess置顶的一键包安装,其他一切正常,惟独mysql有问题,卸载后重复折腾几回,实在受不了,今天换了个干净的系统。再来。结果,问题又来了
我是这样的:
#apt-get install -y mysql-server
后来启动时,提示:
#/etc/init.d/mysql start
#Checking for corrupt, not cleanly closed and upgrade needing tables..后来,按照licess的一键包上的脚本,开始安装php,结果又有问题来了:
tar zxvf php-5.2.10.tar.gz
gzip -d ./suhosin-patch-5.2.10-0.9.7.patch.gz
gzip -cd php-5.2.10-fpm-0.5.13.diff.gz | patch -d php-5.2.10 -p1
cd php-5.2.10/
patch -p 1 -i ../suhosin-patch-5.2.10-0.9.7.patch
./buildconf --force到这里,提示:
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf not found.
You need autoconf version 2.13 or newer installed
to build PHP from CVS.
make: *** [buildmk.stamp] Error 1继续编译:
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql --with-mysqli --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --enable-discard-path --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --with-mime-magic --enable-suhosin
提示有错:
configure: error: XML configuration could not be foundvpsee.com这家的vps用的系统模板,应该是他们自己定制的,和别人的不太一样,至今遇到麻烦问题一堆哎。。。
以前在其他家的vps上安装lnmp很简单,不论是用一键包,还是自己编译,都很轻松。。。