图-LAMP
搭建属于自己的LAMP平台,就要亲自动手做一遍!
2.1安装apache_1.3.41
软件获取:http://httpd.apache.org/
安装步骤:
tar xvfz apache_1.3.14.tar.gz
cd apache_1.3.41
修改src/include/httpd.h 增大最大线程数,将:
#define HARD_SERVER_LIMIT 256
改成:
#define HARD_SERVER_LIMIT 2048
保存退出
./configure \
–prefix=/usr/local/apache \
–enable-module=so \
–enable-module=rewrite \
–enable-shared=max \
–htdocsdir=/var/www
make
make install
启动:
/usr/local/apache/bin/apachectl start
说明:
–prefix=/usr/local/apache说明安装路径
http://www.dengb.com/Linuxjc/597508.htmlwww.dengb.comtruehttp://www.dengb.com/Linuxjc/597508.htmlTechArticle图-LAMP 搭建属于自己的 LAMP 平台,就要亲自动手做一遍! 2.1安装apache_1.3.41 软件获取:http://httpd.apache.org/ 安装步骤: tar xvfz apache_1.3.14.ta...