Howto: Enable FastCGI from Linux

To enable FastCGI from your Apache server, you may follow this article.

1. Copy the php.ini file to your cgi-bin folder.
2. Create a file named php.fcgi in the cgi-bin folder.
3. Insert the following script,

exec /usr/local/cpanel/cgi-sys/php5

4. Change the php.fcgi permission to 755.
5. Create/Edit the .htaccess file and insert the following script.

AddHandler php5-fastcgi .php
Action php5-fastcgi /cgi-bin/php.fcgi

Published by

Mick Genie

Mick Genie is the founder of and working at ExaBytes Network Sdn Bhd and WPWebHost web host company. He is expertise in Windows and Linux environment especially web hosting related information, tips and trick as well as the IT Information.