4

remi reposのnginxとphp-fpmを備えたCentOS 6.2がインストールされたサーバーがあります

httpd もインストールされていますが、mod_fastcgi yum をインストールしようとすると、利用可能なパッケージがないと表示されます

どうすれば 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
4

3 に答える 3

8

の公式パッケージはないようですmod_fastcgi。RedHat は を使用することを好むようですがmod_fcgid、PHP-FPM などの外部 FastCGI サーバー プロセス (Apache によって管理されない) を使用する機能という重要な機能が欠けています。

http://www.garron.me/en/linux/apache-mpm-worker-php-fpm-mysql-centos.htmlからmod_fastcgi、非公式の RPM を RPMForge/RepoForge リポジトリからダウンロードできることがわかりました。

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

私はそれらを軽くテストしましたが、それらは私のために働きます。

于 2014-01-28T15:25:31.350 に答える
1

ソースからインストールできるはずです。ここの指示に従ってみてください: http://www.cyberciti.biz/tips/rhel-centos-fedora-apache2-fastcgi-php-configuration.html

Centosでこれらの手順をうまく使用しました。

于 2012-08-29T00:30:02.513 に答える
-3

mod_fcgidepel リポジトリからインストール

# 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.
于 2012-08-19T21:18:34.080 に答える