Hi Guyz,
For fast-cgi we need to create a custom php.ini which should be placed in cgi-bin folder.
First move
php.ini to
cgi-bin folder
Under the cgi-bin folder, create
php.fcgi and enter the following lines in the file
#!/bin/sh
export PHP_FCGI_CHILDREN=1
export PHP_FCGI_MAX_REQUESTS=10
exec /usr/local/cpanel/cgi-sys/php5Save the file and enter the command line and change the permission as follows
# chmod php.fcgi to 755.
Create a
.htaccess file in public_html folder and enter the following details
AddHandler php5-fastcgi .php
Action php5-fastcgi /cgi-bin/php.fcgiThat's It

Thank you.