Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cpanel:custom-php-ini-fastcgi [2010-10-08 00:17:28]
garrett.plasky Approved
cpanel:custom-php-ini-fastcgi [2011-04-06 23:06:56]
garrett.plasky Approved
Line 5: Line 5:
 First open .htaccess for the account in question and add the following lines to the bottom of the file: First open .htaccess for the account in question and add the following lines to the bottom of the file:
  
-<code>AddHandler php5-fastcgi .php +<sxh plain>AddHandler php5-fastcgi .php 
-Action php5-fastcgi /cgi-bin/php5.fcgi</code>+Action php5-fastcgi /cgi-bin/php5.fcgi</sxh>
  
 Next, you'll need to source your main server php.ini which is located in /usr/local/lib/. Also note that it needs to have the correct ownership so we'll take care of that too: Next, you'll need to source your main server php.ini which is located in /usr/local/lib/. Also note that it needs to have the correct ownership so we'll take care of that too: