🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## yum 安装 ``` yum install -y httpd ``` 其他模块按需安装 ![](http://i1.piimg.com/567571/c1060af329af3458.png) --- ### 更改MPM 修改httpd服务脚本的配置文件改变MPM,并在httpd的主配置文件中加载指定的MPM模块 ~~~ vim /etc/sysconfig/httpd # Configuration file for the httpd service. # # The default processing model (MPM) is the process-based # 'prefork' model. A thread-based model, 'worker', is also # available, but does not work with some modules (such as PHP). # The service must be stopped before changing this variable. # #HTTPD=/usr/sbin/httpd.worker ~~~