源码安装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://csruizhi.cn/article/jhpcpi.html

其他资讯

Copyright © 2007-2024 成都优众联杰科技有限公司 All Rights Reserved 蜀ICP备2024116266号
友情链接: 移动手机网站制作 成都网站设计 营销型网站建设 手机网站制作 成都响应式网站建设 古蔺网站建设 成都网站建设流程 网站设计公司 成都品牌网站建设 成都网站建设 重庆电商网站建设 上市集团网站建设 网站建设 四川成都网站设计 定制级高端网站建设 成都定制网站建设 成都网站建设公司 成都网站建设 成都网站制作 成都网站设计 定制网站设计 营销型网站建设