成都创新互联网站制作重庆分公司

源码安装apache

源码安装apache
由于apache的模式是编译时指定的所以,还是建议重新手动编译apache
然后进行安装。
先安装apr
cd/apr
./configure--prefix=/usr/local/apr
make&&makeinstall
cd../apr-util
./configure--prefix=/usr/local/apr-util--with-apr=/usr/local/apr/
make&&makeinstall
再编译安装apache
./configure--prefix=/usr/local/apache2--with-apr=/usr/local/apr/--with-apr-util=/usr/local/apr-util/--enable-so--enable-rewrite--with-mpm=worker

修改配置文件httpd.conf
添加ServerNamebbstest


源码编译安装PHP
./configure--prefix=/usr/local/php5--with-apxs2=/usr/local/apache3/bin/apxs--with-MySQL=/www/wdlinux/mysql-5.1.63--with-gd--with-zlib--with-png--with-jpeg--with-freetype--enable-sockets--with-iconv--enable-mbstring--enable-track-vars--enable-force-cgi-redirect--with-config-file-path=/usr/local/php5/etc

文章题目:源码安装apache
文章起源:http://cxhlcq.com/article/jhpcpi.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部