This script is for Slackware 11.0 only and may be outdated.

SlackBuilds Repository

11.0 > Network > mod_fcgid (2.1)

mod_fcgid is alternative FastCGI module for apache 2.x
(note that "old and proven" mod_fastcgi doesn't work at all with apache 2.2)

With mod_fcgid apache controls spawned FastCGI processes (as oposed to "external"
FastCGI servers).

Some features:
- Binary compatibility to mod_fastcgi
- Strict control on process spawn
- Simple spawning-speed control strategy
- Fastcgi server error detection

Before running this script, you must have apache2 installed.
Download and build apache2 build script from

To use it, add the following line to your httpd.conf file:
Include /etc/apache2/extra/httpd-fcgid.conf

Sample SuEXEC php wrapper script:
# sample PHP FastCGI wrapper
PHPRC="/etc" # directory which contains php.ini
exec /usr/bin/php-cgi

and apropriate vhost config:

# VirtualHost with SuExec and FastCGI PHP
<VirtualHost *:80>
# note: apache user should be member of 'vhost_group'
SuexecUserGroup vhost_user vhost_group

DocumentRoot /var/www/vhosts/
ErrorLog /var/log/apache2/
CustomLog /var/log/apache2/ common

# note: chmod /var/www/vhosts/ to 0750
<Directory /var/www/vhosts/>
Options ExecCGI
FCGIWrapper /var/www/vhosts/ .php
DirectoryIndex index.html index.php

AllowOverride None
Order allow,deny
Allow from all

Maintained by: Adis Nezirovic
Keywords: FastCGI,mod_fastcgi alternative
ChangeLog: mod_fcgid


Source Downloads:
mod_fcgid.2.1.tar.gz?download (0bc036276e378463c80617ff57e853dc)

Download SlackBuild:
mod_fcgid.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 11.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds