linux apache 配置fastcgi

时间:2022-07-21 12:55:38

Redhat 上 FastCGI 安装与配置
软件包
相关软件包:
httpd 2.2.14
     //注意版本 这个版本不会出问题   注:apache httpd安装

fcgi-2.4.0.tar.gz

mod_fastcgi-2.4.6.tar.gz
请仔细阅读其中的README

配置httpd.conf 尾部添加 :

LoadModule fastcgi_module modules/mod_fastcgi.so
<IfModule fastcgi_module>


  AddHandler fastcgi-script .fcgi # you can put whatever extension you want
</IfModule>
FastCgiIpcDir /tmp