Install Apache dengan FastCGI dan PHP di CentOS 6

Selain menggunakan mod_php kita juga bisa menjalankan Apache dengan FastCGI dan PHP di CentOS 6. Berikut cara-cara instalasinya:

Menambahkan repo

//CentOS 6 32 bit

rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm

//CentOS 64 bit

rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

Install Apache

Setelah menambahkan repo di atas maka sekarang kita menginstall Apache: