---

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

[ 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

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis