Solved : No input file specified fcgi ( FastCFI ) cpanel / WHM

I have recently got an issue after recompiling with module FastCGI, I want to change my server configuration from SuPHP to fcgi ( FastCGI). I had enabled on my server and I got an issue like the below.

"No Input File Specified"

Here in this article, I will show, how I have handled this issue with this module and got success.

(1) First I checked my rebuild phpconf information through the below command.

# /usr/local//bin/rebuild_phpconf --current

that looked like the below output. Looks was enabled on the current configuration.

Available handlers: suphp dso  cgi none
DEFAULT PHP: 5
4 SAPI: none
PHP5 SAPI: fcgi
SUEXEC: enabled
RUID2: not installed

(2) Check and user permission issues on files and folders.

(3) At last I have checked my .htaccess file and added some lines in my site .htaccess file.

RewriteEngine on

DirectoryIndex index.php

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond $1 !^(index\.|robots\.txt)

Now my issue has been resolved through this method, maybe it will resolve your issue as well for this type of task.

Thank you.

About Sachin Gupta

I am a professional freelance contributor and founder of tech transit. Love to write and lover of education, culture, and community. I have been using it, setting, supporting, and maintaining it since 2009. rocks!

Have any Question or Comment?

Leave a Reply

Your email address will not be published.