How to enable PHP-FCGI support on a RHEL or CentOS on Vesta Control Panel

This tutorial is created for servers with less than 1Gb of ram avaialbe. On “medium” servers installation is fully automatic.

1. Install fcgid apache module

yum install mod_fcgid

2. Download fcgid template

cd /usr/local/vesta/data/templates/web
wget http://c.vestacp.com/0.9.8/rhel/fcgid/httpd.tar.gz
tar -xzvf httpd.tar.gz
rm -f httpd.tar.gz

3. Create new package or set phpfcgid as apache template in the existing package

4. Add new user and assing him package with phpfcgid template

5. Add new domain and check the result


How to enable PHP-FCGI support on a RHEL or CentOS on Vesta Control Panel, Hostripples Web Hosting
Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.