CentOS6.9下安装MySQL5.5.61,Apache2.2.34,PHP5.6.37——LAMP架构(二)——Apache

预编译环境

./configure --prefix=/usr/local/apache2 --with-ssl --with-include-apr --enable-modules=reallyall --enable-mods-share=reallyall

编译

make --quiet

【注】--quiet会少很多输出

make install

后续配置

配置服务启动文件

cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd

猜你喜欢

转载自blog.csdn.net/lintengfeidemaozi/article/details/82055803