apache - apache2、apache2-threaded-dev 和 apache-prefork-dev 之间的区别

标签 apache ubuntu apache2 ubuntu-14.04

可用的不同 apache 包之间有什么区别。

  • Apache 2
  • apache2 线程开发
  • apache2-prefork-dev

  • sudo apt-get install apache2 将同时支持

    apache-prefork-dev

    apache2-线程开发

    最佳答案

    我假设您使用的是 Ubuntu

  • 在我的 Ubuntu 机器上安装了 prefork
  • apache2-threaded-dev 是 Ubuntu 的标准 Apache 包 - 混合多进程多线程服务器( worker )
  • apache2-prefok-dev 是非线程的、预 fork 的 Web 服务器 (prefork)
  • sudo apt-get install apache2将支持 prefork

    输入:apache2ctl -V 检查您的

    有关 worker 与 prefork 的更多信息:https://www.garron.me/en/blog/apache2-mpm-worker-prefork-php.html

    关于apache - apache2、apache2-threaded-dev 和 apache-prefork-dev 之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30290531/

    相关文章:

    php - SLIM PHP api 400 错误 - $_REQUEST 不起作用

    apache - 如何在新的访问 Web 应用程序中使用反向代理后面的 Artifactory?

    apache - 查询有关在 Tomcat 端为 NULL 的请求主体的 Apache (httpd) dumpio 日志条目

    linux - 配置 Apache 以在访问和错误日​​志中记录主机

    python - 在 Ubuntu 18.04 中为 python 3.7.3 安装 tkinter

    ajax - 使用 Mod_rewrite 实现 Google 可抓取的 AJAX URL

    svn - 设置 SVN 存储库的基础知识

    linux - 如何通过搜索某个关键字将整行替换为空白行

    configuration - apache2 配置中的 ServerName 和 ServerAlias 有什么区别?

    apache2 - ProxyPass 将 304 状态修改为 200 并添加 content-type