what is error “No input file specified” in CodeIgniter

If you are using CodeIgniter framework for web applications, there is a possibility that you upload apps not working properly.

Generally the error that occurred is the appearance of an error message “No input file specified” when you access one of the URLs on your website. The fix is to do a few changes to the contents of the file. Htaccess you are using.

– File. Htaccess codeigniter standards used are as follows:

<IfModule Mod_rewrite.c> 
RewriteEngine On 
RewriteBase / 
RewriteCond% {REQUEST_FILENAME}!-f 
RewriteCond% {REQUEST_FILENAME}!-d 
RewriteRule ^ (. *) $ index.php / $ 1 [L] 
</ IfModule>

– What needs to change is the last line, which is as follows:

<IfModule Mod_rewrite.c> 
RewriteEngine On 
RewriteBase / 
RewriteCond% {REQUEST_FILENAME}!-f 
RewriteCond% {REQUEST_FILENAME}!-d 
RewriteRule ^ (. *) $ index.php? / $ 1 [L] 
</ IfModule>

So just by putting a ” ? “(question mark) in the index.php and the / $ 1 , the script will able to function properly.

Hopefully its useful post and good luck.