Linux下apache+fastcgi+php+mysql搭建配置
分类:APACHE评论:11条作者:雨尚日期:2011-04-19
Linux下apache+fastcgi+php+mysql搭建配置
1.系统必备包安装 yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel 2.apache安装 tar zxvf httpd-2.2.17.tar.gz cd httpd-2.2.17 ./configure --prefix=/opt/apache --enable-modules=all --enable-mods-shared=all --enable-so --enable-rewrite && make && make install ##--enable-modules=all 表示将所有模块静态编译到httpd二进制文件中 ##--enable-mods-shared=all 表示动态加载所有模块,如果去掉-shared,就是静态加载所有模块。(静态加载效率高,但是添加模块需重新编译apache) ##--enable-so 让apache核心装载DSO ##--enable-rewrite 打开重写功能 3.mod_fastcgi安装 tar zxvf mod_fastcgi-2.4.6.tar.gz cd mod_fastcgi-2.4.6 cp Makefile.AP2 Makefile make top_dir=/opt/apache install 继续阅读...

最新评论
今天有空就来看看你的站»
Post: 2012-04-29 20:03:15这个脚本不错,来学习下»
Post: 2012-04-11 03:37:35来看看你的博客,有空也去»
Post: 2012-04-07 20:04:03Great articl»
Post: 2012-02-24 05:58:40Noarmlly I'm»
Post: 2012-02-24 05:56:32Why does thi»
Post: 2012-02-24 05:52:00That's a qui»
Post: 2012-02-24 05:50:44Well macamdi»
Post: 2012-02-24 05:50:36Yours is a c»
Post: 2012-02-24 05:31:50These tpocis»
Post: 2012-02-24 05:09:11