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

问题描述

我有从remi repos安装了带有Nginx和php-fpm的CentOS 6.2的服务器

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

httpd也已安装,但是当我尝试安装mod_fastcgi时,yum表示没有可用的pachage

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-16 00:14