ユーザ用ツール

サイト用ツール


サイドバー

Index

はじめてのおつかい






DokuWiki整形記法


PlayGround



serverapps:apache:fastcgi

FastCGI

mod_fcgidをセットアップ

ApacheでFastCGIを扱える様にするモジュールにはmod_fcgidとmod_fastcgiが有ります。ここではmod_fcgidを使います。1)

yum --enablerepo=epel install mod_fcgid

※今回はCentOSでインストールしました

設定

CentoOSの場合には/etc/httpd/conf.d/fcgid.conf が作成されている。中身はこんな感じ

LoadModule fcgid_module modules/mod_fcgid.so

# Use FastCGI to process .fcg .fcgi & .fpl scripts
AddHandler fcgid-script fcg fcgi fpl

# Sane place to put sockets and shared memory file
FcgidIPCDir /var/run/mod_fcgid
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm

ライブラリ

必要に応じてFastCGIライブラリをインストールしておく

参考

1)
netで検索する場合、これらの記述が入り混じってるので注意!
serverapps/apache/fastcgi.txt · 最終更新: 2017/04/14 14:21 (外部編集)