我有一个安装了nginx和CentOS -fpm的服务器
也安装了httpd,但当我尝试安装mod_fastcgi yum sais时,没有可用的pachage
如何安装mod_fastcgi?谷歌搜索不同的网站说,命令
yum install mod_fastcgi必须安装此程序包。但是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发布于 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:
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我对它们进行了简单的测试,它们对我很有效。
发布于 2012-08-29 08:30:03
您应该能够从源代码进行安装。尝试按照此处的说明进行操作:http://www.cyberciti.biz/tips/rhel-centos-fedora-apache2-fastcgi-php-configuration.html
我已经在Centos上成功地使用了这些说明。
发布于 2012-08-20 05:18:34
从epel存储库安装mod_fcgid
# 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.https://stackoverflow.com/questions/12005137
复制相似问题