全球主机交流论坛

标题: Directadmin配置Nginx+apache时,php_mod选择php_fpm还是mod_php [打印本页]

作者: HXS    时间: 2015-7-11 01:16
标题: Directadmin配置Nginx+apache时,php_mod选择php_fpm还是mod_php


Available options for php1/php2_mode are:

mod_php - PHP is installed as apache loaded module (mod_php) this way, together with this option mod_ruid2=yes can be set to run apache processes under specified user names.
fastcgi - PHP is installed as php-fastcgi this way, mod_fcgid is used in apache configuration.
php-fpm - PHP is installed as PHP-FPM this way. If apache is chosen, mod_proxy_fcgid is used in apache configuration for connections to PHP-FPM sockets. Sockets are placed in /usr/local/php53/sockets, /usr/local/php54/sockets or /usr/local/php55/sockets.
suphp - PHP is installed as CGI this way, suphp module is used in apache configuration. suPHP configuration file can be found here: /usr/local/suphp/etc/suphp.conf

Webserver options:

webserver- this option is used to choose the webserver to be used. Install/update the webserver using "./build apache", "./build nginx", "./build nginx_apache" or "./build litespeed" (depends on the option value). Possible values: apache/nginx/nginx_apache/litespeed (default: apache).
作者: 西崽猪猪    时间: 2015-7-11 01:37
花钱装 litespeed +cloudflare
作者: HXS    时间: 2015-7-11 09:29
litespeed有什么优势?
作者: ivmm    时间: 2015-7-11 09:31
HXS 发表于 2015-7-11 09:29
litespeed有什么优势?

支持 apache 的伪静态规则,性能比 nginx 好,省资源。。
问题是天价
作者: ivmm    时间: 2015-7-11 09:32
西崽猪猪 发表于 2015-7-11 01:37
花钱装 litespeed +cloudflare

+了CDN,Web服务器方面的优化不都是白搭了么
作者: 龟龟酱    时间: 2015-7-11 10:40
ivmm 发表于 2015-7-11 09:32
+了CDN,Web服务器方面的优化不都是白搭了么

我觉得他想说的是cloudlinux?
作者: ivmm    时间: 2015-7-11 10:44
龟龟酱 发表于 2015-7-11 10:40
我觉得他想说的是cloudlinux?

cloudlinux 卖主机才用
作者: HXS    时间: 2015-7-11 11:26
你们先回答我的问题啊
作者: ivmm    时间: 2015-7-11 13:15
西崽猪猪 发表于 2015-7-11 01:37
花钱装 litespeed +cloudflare


Cloudflare 等于一个Nginx前端代理了你,还不如直接用 apache 来的直接。

可能我错了
作者: 西崽猪猪    时间: 2015-7-11 13:17
龟龟酱 发表于 2015-7-11 10:40
我觉得他想说的是cloudlinux?

我说的就是cloudflare




欢迎光临 全球主机交流论坛 (https://hostloc.onozo.cc/) Powered by Discuz! X3.4