温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

源码安装apache

发布时间:2020-06-07 10:56:12 来源:网络 阅读:171 作者:wxl604746107 栏目:软件技术
源码安装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

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI