使用mod_fcgi安装Apache的httpd24 centos 6.9

问题描述 投票:0回答:1

我已经在我的centos 6.9中安装了php和apache,用于apache版本2.4和php版本5.6,如下所示:

yum install epel-release
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum install epel-release
yum repolist
yum --enablerepo=extras install centos-release-scl
yum install httpd24
yum install -y libapache2-mod-fastcgi rh-php56-fpm rh-php56 rh-php56-php rh-php56 rh-php56-cli

但是我看不到mod_fcgi.so在/ opt / rh / httpd24 / root / etc / httpd / modules目录中。

因此我从http://httpd.apache.org/download.cgi#mod_fcgid下载了mod_fcgi。

需要一种方法,以便我可以安装它现有的apache模块

提前谢谢了

centos6 apache2.4 mod-fastcgi software-collections
1个回答
1
投票

使用Software Collection中的httpd24,您已经拥有mod_proxy_fcgi,其他旧模块已被弃用。

我建议你阅读关于这种配置的PHP Configuration Tips(注意,这是为CentOS 7编写的,但是使用httpd24在CentOS 6上运行)

© www.soinside.com 2019 - 2024. All rights reserved.