SOLVED: "No input file specified" problem on SiteGround
Permalink 2 users found helpful
Here is some info that might be helpful to others (this was for the host "SiteGround", but may apply to other shared hosts that have the same problem).
When I turned on Pretty URL's on SiteGround shared hosting, I kept getting "No input file specified" errors. The way I solved this was by setting this...
cgi.fix_pathinfo = 0
...in the php.ini file (seehttp://www.concrete5.org/index.php?cID=5346... for more details).
SiteGround doesn't allow you to modify the default php.ini file, so just create your own and put it in the root directory of your concrete5 installation, and it will pick it up. Note that you only need to put this one line in the new php.ini file -- it will be added to all of the other settings from the default php.ini file.
When I turned on Pretty URL's on SiteGround shared hosting, I kept getting "No input file specified" errors. The way I solved this was by setting this...
cgi.fix_pathinfo = 0
...in the php.ini file (seehttp://www.concrete5.org/index.php?cID=5346... for more details).
SiteGround doesn't allow you to modify the default php.ini file, so just create your own and put it in the root directory of your concrete5 installation, and it will pick it up. Note that you only need to put this one line in the new php.ini file -- it will be added to all of the other settings from the default php.ini file.
The 2nd-to-last line of your .htaccess file should be this:
(so replace the existing line "RewriteRule . /index.php [L]" with that one)
RewriteRule ^(.*)$ index.php/$1 [L]
(so replace the existing line "RewriteRule . /index.php [L]" with that one)
OK - works now. Thanks
Still the right solution in February 2012. Thank you!
Hi Jordan
I just moved to siteground and uploaded vers 5.6.2.1 , created the php.ini in the root directory of the installation with just the one line cgi.fix_pathinfo = 0 , now I dont see the toolbar.
Not sure if I have missed something, can you please advise if you had same problem.
thanks
I just moved to siteground and uploaded vers 5.6.2.1 , created the php.ini in the root directory of the installation with just the one line cgi.fix_pathinfo = 0 , now I dont see the toolbar.
Not sure if I have missed something, can you please advise if you had same problem.
thanks
Also changed the .htaccess file to:
As recommended - and got rid of the "input file not specified" message, however, now each page goes to my index page, no matter if I type in the pretty URL, all pages go to index page.
Any ideas?
Thanks,
Wizard247