全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1220|回复: 10
打印 上一主题 下一主题

Directadmin配置Nginx+apache时,php_mod选择php_fpm还是mod_php

[复制链接]
跳转到指定楼层
1#
发表于 2015-7-11 01:16:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式


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).
2#
发表于 2015-7-11 01:37:49 | 只看该作者
花钱装 litespeed +cloudflare
3#
 楼主| 发表于 2015-7-11 09:29:04 来自手机 | 只看该作者
litespeed有什么优势?
4#
发表于 2015-7-11 09:31:10 | 只看该作者
HXS 发表于 2015-7-11 09:29
litespeed有什么优势?

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

+了CDN,Web服务器方面的优化不都是白搭了么

点评

没有白搭。 CDN也算优化的部分  发表于 2015-7-11 13:13
6#
发表于 2015-7-11 10:40:31 | 只看该作者
ivmm 发表于 2015-7-11 09:32
+了CDN,Web服务器方面的优化不都是白搭了么

我觉得他想说的是cloudlinux?
7#
发表于 2015-7-11 10:44:17 | 只看该作者
龟龟酱 发表于 2015-7-11 10:40
我觉得他想说的是cloudlinux?

cloudlinux 卖主机才用
8#
 楼主| 发表于 2015-7-11 11:26:41 | 只看该作者
你们先回答我的问题啊
9#
发表于 2015-7-11 13:15:48 | 只看该作者
西崽猪猪 发表于 2015-7-11 01:37
花钱装 litespeed +cloudflare


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

可能我错了
10#
发表于 2015-7-11 13:17:25 | 只看该作者
龟龟酱 发表于 2015-7-11 10:40
我觉得他想说的是cloudlinux?

我说的就是cloudflare
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-14 02:09 , Processed in 0.065720 second(s), 14 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表