Knowledgebase: PHP and Apache
Fast CGI and Custom php.ini files
Posted by Cirtex Cecilia on 22 July 2010 07:42 AM
With fast-cgi, custom php.ini needs to be in the cgi-bin folder.|
1) Move php.ini to cgi-bin folder
2) In cgi-bin folder, create php.fcgi and put the following in this file:
3) chmod php.fcgi to 755.
4) Upload .htaccess under public_html, put the following:
AddHandler php5-fastcgi .php
Action php5-fastcgi /cgi-bin/php.fcgi
and you are done.
.htaccess still works the same way.