How To Set Up Apache2 With mod_fcgid And PHP5 On Ubuntu 8.10

Written By
FT
Falko Timme
Mar 13, 2009

[ Thanks to Falko
Timme
for this link. ]

“1 Preliminary Note
I’m using an Ubuntu 8.10 server in this tutorial with the hostname
server1.example.com and the IP address 192.168.0.100.

“I will create two Apache vhosts in this tutorial,
www.example1.com and www.example2.com, to demonstrate the usage of
mod_fcgid.

“Make sure you’re logged in as root:

“sudo su

“/bin/sh is a symlink to /bin/dash, however we need /bin/bash,
not /bin/dash. Therefore we do this:

“ln -sf /bin/bash /bin/sh

“In addition to that, we must disable AppArmor:

“/etc/init.d/apparmor stop
update-rc.d -f apparmor remove
apt-get remove apparmor apparmor-utils”


Complete Story

FT

Falko Timme

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.