kayyy

Active Member
Mar 12, 2014
32
0
6
cPanel Access Level
DataCenter Provider
Heyho,

currently the php handler "dso" is enabled.

Now i`ve one website, that need php fcgi.

I tried to add AddHandler php53-cgi .php in the .htaccess files but it didnt worked.

Is it possible to enable fcgi via .htaccess ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

Could you let us know which instructions you are following that states you can use a custom PHP handler for a specific website? This is not natively supported as far as I know. Also, please post the output from:

Code:
/usr/local/cpanel/bin/rebuild_phpconf --current
Thank you.
 

kayyy

Active Member
Mar 12, 2014
32
0
6
cPanel Access Level
DataCenter Provider
currently php is running on dso

oot@kas [~]# /usr/local/cpanel/bin/rebuild_phpconf --current
Available handlers: suphp dso fcgi cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: dso
SUEXEC: enabled
RUID2: not installed

( dso is not very helpful because all the problem with chmod, user rights etc. )

but i know a hoster where u can add this line to your .htaccess file and then php is running with fast cgi.

So that`s not possible?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
It's not possible to use a separate PHP handlers on an individual account basis as far as I know. For instance, you can not use suPHP on some accounts, and DSO on other accounts. You must select one handler for the version of PHP that is installed.

Thank you.