I had a site running well for quite some time on GoDaddy shared linux hosting, by doing the following:
1. Forcing PHP5 with a .htaccess file of the following:
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php42. Use ORIG_PATH_INFO instead of PATH_INFO
3. After the line added to /index.php in Step 2, add this:
$path_info = substr($path_info, strlen("/index.php"));This worked fine. However, as of a few days ago, I started getting “No input file specified.” on every page except the index, as described here. Without wanting to switch to Forced Querystring Mode, I finally figured out how to solve it.
It seemed to be a problem with Apache’s “AcceptPathInfo” being off. However, phpinfo() said that I was running Apache 1.3, and you can’t turn AcceptPathInfo on until Apache 2.
The solution was the following:
1. Leave .htaccess as above
2. Stop doing this and start using PATH_INFO again instead of ORIG_PATH_INFO
3. Keep using this line:
$path_info = substr($path_info, strlen("/index.php"));
4. Create “php5.ini” (rather than php.ini) containing the following and place it in your web root.
cgi.fix_pathinfo = 1Hope that helps people. I saw posts on other forums from people the same day my site broke but nothing on how to fix things for ExpressionEngine sites. GoDaddy often doesn’t admit when they make server changes such as those as of recent.