LAMP--3.Apache 的 mpm 工作模式
2016-07-05 08:26
344 查看
查看 apache 工作模式的命令是:
通过这个命令也可以看到哪些模块是动态,哪些模块是静态。其中以 mpm_ 开头的就是 apache 的 mpm 工作模式,2.2版本的httpd默认的mpm工作模式为 prefork 。除了 prefork 外,常见的工作模式还有 worker 以及 event 。2.4版本的 httpd 默认是 event 工作模式。
[root@localhost ~]# /usr/local/apache2/bin/apachectl -M httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName Loaded Modules: core_module (static) authn_file_module (static) authn_default_module (static) authz_host_module (static) authz_groupfile_module (static) authz_user_module (static) authz_default_module (static) auth_basic_module (static) include_module (static) filter_module (static) log_config_module (static) env_module (static) setenvif_module (static) version_module (static) mpm_prefork_module (static) http_module (static) mime_module (static) status_module (static) autoindex_module (static) asis_module (static) cgi_module (static) negotiation_module (static) dir_module (static) actions_module (static) userdir_module (static) alias_module (static) so_module (static) Syntax OK
通过这个命令也可以看到哪些模块是动态,哪些模块是静态。其中以 mpm_ 开头的就是 apache 的 mpm 工作模式,2.2版本的httpd默认的mpm工作模式为 prefork 。除了 prefork 外,常见的工作模式还有 worker 以及 event 。2.4版本的 httpd 默认是 event 工作模式。
相关文章推荐
- Apache Isis 1.4.0 发布,领域驱动开发框架
- apache mpm
- RH436 Day3 课后总结
- Linux快速构建apache web服务器
- Awstats处理多apache日志
- 安装perl模块小窍门
- Apache静态编译与动态编译的区别
- PHP+Apache在Windows 9x下的安装和配置
- Apache服务器配置全攻略
- Apache Web让JSP“动”起来
- Linux Apache+MySQL+PHP
- 建立Apache+PHP+MySQL数据库驱动的动态网站
- apache 环境下 php 的配置注意事项
- 在RedHat下安装apache jserv 1.1.2方法
- windows8.1下Apache+Php+MySQL配置步骤
- windows中PHP5.2.14以及apache2.2.16安装配置方法第1/2页
- 在Windows XP下安装Apache+MySQL+PHP环境
- 解析阿里云ubuntu12.04环境下配置Apache+PHP+PHPmyadmin+MYsql
- apache rewrite防盗链三例
- Apache 配置详解(最好的APACHE配置教程)