(一)安装 PHP
#tar zxvf php-5.2.11.tar.gz
#cd php-5.2.11
#./configure --disable-debug --enable-fastcgi --enable-force-cgi-redirect --enable-bcmath --enable-calendar --enable-discard-path --enable-inline-optimization --with-openssl --with-zlib --with-gd --with-gmp --with-regex=system --enable-ctype --enable-dbase --with-pcre-dir=/usr/local/bin/pcre-config --with-mysql=/usr/local/mysql --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-posix --disable-rpath --enable-safe-mode --enable-magic-quotes --disable-dmalloc --enable-gd-native-ttf --with-ttf --with-gdbm --enable-mbstring --enable-sigchild --enable-sysvsem --enable-sysvshm --enable-zend-multibyte --with-xsl --with-ncurses --with-curl --enable-mbregex --with-bz2 --with-libxml-dir --with-gettext --with-iconv --enable-exif --enable-pcntl --enable-ftp --enable-sockets --enable-wddx --enable-shmop --enable-soap --with-jpeg-dir --with-png-dir --with-freetype-dir --with-zlib-dir --with-mime-magic=/usr/share/file/magic.mime --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc
#make
#make install
#cp php.ini-dist /usr/local/php/etc/php.ini
#cd ..
#rm -rf php-5.2.11
(二)安装 fcgid for apache
#tar zxvf mod_fcgid.2.2.tgz
#cd mod_fcgid.2.2
#make top_dir=/usr/local/httpd
#make install top_dir=/usr/local/httpd
#cd ..
#rm -rf mod_fcgid.2.2
最后编辑: 疯狂老头 编辑于2009-12-7 10:56
| 引用(0)
CentOS 5.4 下完整功能邮件服务器系统 ExtMail 的搭建 (第五部分)(rrdtool)
CentOS 5.4 下完整功能邮件服务器系统 ExtMail 的搭建 (第七部分)(courier-authlib)


2009-12-7
10:53
0
307


