CentOS mod

编程入门 行业动态 更新时间:2024-10-17 22:20:19
本文介绍了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 * remi: remi-mirror.dedipower 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.

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

From 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 dag.wieers/rpm/packages/RPM-GPG-KEY.dag.txt sudo rpm -ivh pkgs.repoforge/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

本文发布于:2023-11-01 02:00:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1547921.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:CentOS   mod

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!