安装依赖
yum -y install wget
yum -y install gcc
yum -y install gcc-c++
yum -y install pcre-devel
yum -y install zlib-devel
yum -y install libxml2
yum -y install libxml2-devel
yum -y install libevent
yum -y install libevent-devel
yum -y install autoconf
yum -y install libpng-devel
yum -y install openssl-devel
yum -y install curl
yum -y install curl-devel
yum -y install expat-devel
yum -y install perl
yum -y install perl-ExtUtils-MakeMaker
yum -y install gettext-devel
yum -y install zlib-devel
yum -y install cpio
yum -y install gettext-devel
yum -y install bzip2-devel
yum -y install freetype-devel
yum -y install gmp-devel
yum -y install php-mcrypt libmcrypt libmcrypt-devel编译参数
./configure --prefix=/opt/php --with-config-file-scan-dir=/opt/php/etc/php.d --disable-debug --with-pic --with-bz2 --with-gettext --with-gmp --enable-mbregex --enable-mbstring --with-openssl --with-zlib --with-layout=GNU --enable-exif --enable-sockets --enable-xml --with-pear --enable-fpm --with-pdo-mysql --with-curl --with-mysql --with-gd --enable-gd-native-ttf --with-mysqli --enable-soap --with-fpm-user=daemon --with-fpm-group=daemon --with-apxs2=/opt/httpd/bin/apxs --with-mcrypt --with-freetype-dir --with-libiconv-dir
注意点
1.--prefix,建议在/opt下。
2./configure过程中,根据报错信息安装相对应的依赖。
3.php的编译参数可以通过./configure --help来查看,不同版本的php可能会有细微差异
鼎峰企业智能建站系统是一个非常灵活的企业建站工具(简称:dfeiew),网页设计师可以使用dfeiew来快速建立企业网站。dfeiew采用adodo作为数据库持久层,采用smarty模板引擎,美工灵活,而且smarty是编译型的,访问快速。鼎峰拥有php+mysql,asp+access/ms sql版本,并且都是开源、免费的!快速提供企业建站传统的cms体系结构过于复杂,不适合做企业站点,而鼎峰










