CentOS mod_fastcgi [英] CentOS mod_fastcgi

查看:24
本文介绍了CentOS mod_fastcgi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的服务器安装了 CentOS 6.2 和来自 remi repos 的 nginx 和 php-fpm

I have server with installed CentOS 6.2 with nginx and php-fpm from remi repos

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

httpd also installed, but when I try to install mod_fastcgi yum sais that no pachage availiable

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

How I can install mod_fastcgi??? Googling different sites says that command

yum install mod_fastcgi

必须安装这个包.但是 yum sais:

must install this package. But yum sais:

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

推荐答案

mod_fastcgi 似乎没有任何官方软件包.RedHat 似乎更喜欢您使用 mod_fcgid,但它缺少一个重要功能,即使用外部 FastCGI 服务器进程(不由 Apache 管理)的能力,例如 PHP-FPM.

There don't appear to be any official packages for mod_fastcgi. It seems that RedHat would prefer that you use mod_fcgid, but it's missing an important feature, the ability to use an external FastCGI server process (not managed by Apache) such as PHP-FPM.

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

From http://www.garron.me/en/linux/apache-mpm-worker-php-fpm-mysql-centos.html, I found that you can download unofficial mod_fastcgi RPMs from the RPMForge/RepoForge repository:

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

我对它们进行了简单的测试,它们对我有用.

I have tested them lightly and they work for me.

这篇关于CentOS mod_fastcgi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆