首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >CentOS mod_fastcgi

CentOS mod_fastcgi
EN

Stack Overflow用户
提问于 2012-08-17 19:44:54
回答 3查看 22.3K关注 0票数 4

我有一个安装了nginx和CentOS -fpm的服务器

也安装了httpd,但当我尝试安装mod_fastcgi yum sais时,没有可用的pachage

如何安装mod_fastcgi?谷歌搜索不同的网站说,命令

代码语言:javascript
复制
yum install mod_fastcgi

必须安装此程序包。但是yum sais说:

代码语言:javascript
复制
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * epel: mirror.cogentco.com
 * remi: remi-mirror.dedipower.com
196 packages excluded due to repository priority protections
Setting up Install Process
No package mod_fastcgi available.
Error: Nothing to do
EN

回答 3

Stack Overflow用户

发布于 2014-01-28 23:25:31

似乎没有任何针对mod_fastcgi的官方包。看起来RedHat更喜欢您使用mod_fcgid,但是它缺少一个重要的特性,即使用外部FastCGI服务器进程(不受Apache管理)的能力。

http://www.garron.me/en/linux/apache-mpm-worker-php-fpm-mysql-centos.html中,我发现您可以从RepoForge存储库下载非官方的mod_fastcgi RPM:

代码语言:javascript
复制
sudo rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
sudo rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
sudo yum install mod_fastcgi

我对它们进行了简单的测试,它们对我很有效。

票数 8
EN

Stack Overflow用户

发布于 2012-08-29 08:30:03

您应该能够从源代码进行安装。尝试按照此处的说明进行操作:http://www.cyberciti.biz/tips/rhel-centos-fedora-apache2-fastcgi-php-configuration.html

我已经在Centos上成功地使用了这些说明。

票数 1
EN

Stack Overflow用户

发布于 2012-08-20 05:18:34

从epel存储库安装mod_fcgid

代码语言:javascript
复制
# yum --enablerepo=epel info mod_fcgid
Available Packages
Name       : mod_fcgid
Arch       : x86_64
Version    : 2.2
Release    : 11.el5
Size       : 58 k
Repo       : epel
Summary    : Apache2 module for high-performance server-side scripting
URL        : http://fastcgi.coremail.cn/
License    : GPL+
Description: mod_fcgid is a binary-compatible alternative to the Apache module mod_fastcgi.
           : mod_fcgid has a new process management strategy, which concentrates on reducing
           : the number of fastcgi servers, and kicking out corrupt fastcgi servers as soon
           : as possible.
票数 -3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12005137

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档