(一)安装 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)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]