CentOS php安装过程概括讲述
对广大LINUX用户讲解推举CentOS php安装,让你们知道什么是CentOS php系统,然后全面介绍讲解CentOS php安装,希望对大家有用。
CentOS php安装下载地址:http://cn.php.net/distributions/php-5.2.6.tar.gzCentOS php安装提前安装libxml2-2.7.3.tar.gz wget ftp://xmlsoft.org/libxml2/libxml2-2.7.3.tar.gz sudo tar -zxvf libxml2-2.6.28.tar.gz cd libxml2-2.6.28/ /configuremake sudo make install[root@localhost ~]# tar zxvf php-5.2.6.tar.gz //
解压CentOS php文件[root@localhost ~]# cd php-5.2.6 //进去CentOS php安装目录[root@localhost php-5.2.6]#./configure --prefix=/usr/local/mysql/php --with-mysql=/usr/local/mysql/mysql --with-apxs2=/usr/local/mysql/apache/bin/apxs --enable-track-vars --enable-force-cgi-redirect --with-config-file-path=/usr/local/mysql/php/etc //CentOS php编译我改为[root@localhost php-5.2.6]#./configure --prefix=/usr/local/mysql/php.