Thursday, September 16, 2010

How To Set Up Apache2 With mod_fcgid And PHP5 On Fedora 13

Follow me on Twitter
Last edited 08/18/2010

This tutorial describes how you can install Apache2 with mod_fcgid and PHP5 on Fedora 13. mod_fcgid is a compatible alternative to the older mod_fastcgi. It lets you execute PHP scripts with the permissions of their owners instead of the Apache user.

I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

I'm using a Fedora 13 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.

Before we start, make sure that SELinux is disabled. Open /etc/selinux/config...

vi /etc/selinux/config

... and set SELINUX to disabled:

# This file controls the state of SELinux on the system.# SELINUX

No comments:

Post a Comment