'No Input File Specified' Error Showing up

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
DarkNemesis618
Forum Newbie
Posts: 2
Joined: Thu Mar 13, 2008 1:40 pm

'No Input File Specified' Error Showing up

Post by DarkNemesis618 »

My site is hosted with GoDaddy, all of a sudden yesterday, many of my pages aren't working and I'm getting a "No Input File Specified". From what I've read, it seems to be a configuration, but I haven't touched any of my config files and it was working before.

An example of what I get can be found at http://blog.darkernemesis.com/archives/ ... -to-Japan/

I've been trying things all morning and am pretty much just stuck right now, any help would be appreciated. :banghead:

Here are my php.ini and .htaccess files. Both are stored in my root directory.

php.ini

Code: Select all

register_globals = off
allow_url_fopen = off
 
expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
date.timezone = "America/New_York"
.htaccess

Code: Select all

<files page> 
ForceType application/x-httpd-php 
</files>
philfreo
Forum Newbie
Posts: 2
Joined: Mon Mar 17, 2008 12:47 am

Re: 'No Input File Specified' Error Showing up

Post by philfreo »

As of the last few days, I've been having the same issue with my GoDaddy account. Please let me know if you figure out a workaround.
DarkNemesis618
Forum Newbie
Posts: 2
Joined: Thu Mar 13, 2008 1:40 pm

Re: 'No Input File Specified' Error Showing up

Post by DarkNemesis618 »

After painstakingly trying to solve this, I ended up solving the problem. Try adding the following line to your php.ini file

cgi.fix_pathinfo = 1

if that doesn't work, a GoDaddy tech said to try renaming your php.ini file to php5.ini ...worth a try.

also, if you use the explode function to parse your URLs, try

Code: Select all

$_SERVER['REQUEST_URI']
other options didn't work, but REQUEST_URI did.

Let me know if that helps.
philfreo
Forum Newbie
Posts: 2
Joined: Mon Mar 17, 2008 12:47 am

Re: 'No Input File Specified' Error Showing up

Post by philfreo »

Thanks a ton, this fixed the problem. I had actually found something about "cgi.fix_pathinfo = 1" a few minutes ago but naming the file php5.ini (and putting it in my web root) is what solved it.

Thanks!
davidbessler
Forum Newbie
Posts: 1
Joined: Wed Jul 09, 2008 11:57 am

Re: 'No Input File Specified' Error Showing up

Post by davidbessler »

I had the same problem on my godaddy account. This solution: cgi.fix_pathinfo = 1 fixed the problem. I have notified godaddy tech support.
Post Reply