Is FastCGI supported on business hosting plans?

Avatar
  • updated
  • Answered

Do you guys support FastCGI on your shared hosting accounts? I'm using business hosting with launch plan.

What I meant to ask is, can I deploy some script or program with FastCGI? I know CGI is supported and I can place my CGI scripts in "cgi-bin" folder to host them but they aren't ideal as every request starts new process. That's why I wanted to ask whether the FastCGI supported?

If yes, Can you kindly guide me on how to enable it and start hosting my app using FastCGI?

Avatar
Waseem
Quote from Arnel C

Hello Waseem,

Sorry for the confusion.  Yes we do support CGI Scripts. Scripts would need to be placed in the cgi-bin folder under the public_html folder. The mod FCGI (FastCGI) is not available on shared servers.  If you are using a VPS or Dedicated server account, then you can use EasyApache to change your server account to use FastCGI.

Also, just to be clear, the FastCGI is often asked about, and it is a PHP Handler under cPanel (one of several that we support).  You can see more information direction from the cPanel documentation page labeled PHP Handlers.

If you have any further questions or comments, please let us know.


Kindest regards,

Arnel C.

Actually I wasn't talking about the PHP using FastCGI mode. I was talking about FastCGI mode in general which can be used instead of CGI. CGI starts new process on every request, with FastCGI a process can be started and new requests can be handled by that.

You've already answered it is only supported on VPS or Dedicated servers only and not on shared hosting accounts.

Avatar
Arnel C
  • Answered

Hello Waseem,

Sorry for the confusion.  Yes we do support CGI Scripts. Scripts would need to be placed in the cgi-bin folder under the public_html folder. The mod FCGI (FastCGI) is not available on shared servers.  If you are using a VPS or Dedicated server account, then you can use EasyApache to change your server account to use FastCGI.

Also, just to be clear, the FastCGI is often asked about, and it is a PHP Handler under cPanel (one of several that we support).  You can see more information direction from the cPanel documentation page labeled PHP Handlers.

If you have any further questions or comments, please let us know.


Kindest regards,

Arnel C.

Avatar
Waseem
Quote from Chris M

To switch your PHP handler entirely requires root access, which is only available at the VPS or dedicated hosting level.

I am not talking about changing PHP handler.

I think you didn't understand what I was trying to say. CGI scripts can be written in any language (Python, Perl etc) not specifically in PHP. Even native programs can run as CGI programs.

I can run scripts or programs with CGI, but I wanted to know if FastCGI is supported if yes then how to use it or enable it?

Avatar
Chris M
  • Under review

To switch your PHP handler entirely requires root access, which is only available at the VPS or dedicated hosting level.