The error occurs because
In the GoDaddy linux virtual host No input file specified error occurred because php.ini
default cgi.fix_pathinfo = 0
, causing not recognized pathinfo. Generally appear in yii, ThinkPHP and other MVC framework, and WordPress,the use index.php
as a pseudo-static procedures.
Solutions
Create a new file in the web root directory - php5.ini
File contents
cgi.fix_pathinfo=1
Then at the same directory, adding the following code in the .htaccess
file.
addhandler x-httpd-php5-cgi .php5 addhandler x-httpd-php5-cgi .php addhandler x-httpd-php-cgi .php4