RE: Re: php win2003 - No input file specified.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am not familiar with IIS or 2003, but if the PHP file runs fine, my
suggestion is for you to check the logs.

Both system and IIS.

Maybe there is a permission issue we are not aware of, that prevents files
from being read or executed.

 

 

From: Simeon Goranov [mailto:admin@xxxxxxxxxxxxxx] 
Sent: segunda-feira, 30 de Abril de 2007 13:14
To: Luis Moreira (ESI-GSQP)
Cc: php-windows@xxxxxxxxxxxxx
Subject: Re:  Re: php win2003 - No input file specified.

 

What you mean with "opening", something like

..........
include("other_file.php");
..........

If yes .. Yep -  I include files within index.php and I think that they
exist, because the same project it's running well under apache on the same
machine. It's strange beacuse the first time , when I open
myproject.com/subproject/ the page is loaded - when I append index.php
(which is the file) i'm getting the error ..

I made a simple test:
1. I moved the index.php to index.php.old
2. Create another index.php with phpinfo(); only  there
3. Create third file test.php with simple echp 'test'; there

When I try to open myproject.com/subproject/ 
php info page is loaded.
When I try to load myproject.com/subproject/index.php or
myproject.com/subproject/test.php
i'm getting the same error:

No input file specified under firefox and 404 under IE

Greetings,
s.g.

Luis Moreira (ESI-GSQP) написа: 

It seems to me that you are opening a file within INDEX.PHP 
Does that file exist ?
 
-----Original Message-----
From: Simeon Goranov [mailto:admin@xxxxxxxxxxxxxx] 
Sent: segunda-feira, 30 de Abril de 2007 12:54
To: php@xxxxxxxx
Cc: php-windows@xxxxxxxxxxxxx
Subject: Re:  Re: php win2003 - No input file specified.
 
I have only one file into the directory and it's index.php
 
Greetings,
s.g.
 
Mikael Gro"n  <mailto:php@xxxxxxxx> <php@xxxxxxxx>" написа:
  

It sounds like your index file isn't index.php but some other file.
 
Mike
 
 
Simeon Goranov skrev:
    

I'm sorry, I made a typo in mail writing.
Actually:
 
First time  I'm opening  myproject.com/subproject/  .. and it shows 
the index page
Second time I just append index.php on the end so the url is: 
myproject.com/subproject/index.php
 
and the result is "No input file specified."
 
Greetings,
s.g.
 
Jeremy O'Connor написа:
      

You can't expect to leave out part of the URL (.com) and expect it 
to work. You have to specify the entire URL as: 
myproject.com/subproject (with the .com) or else 
http://localhost/subproject if you are opening the browser on the 
server.
 
-- 
Jeremy
 
"Simeon Goranov"  <mailto:admin@xxxxxxxxxxxxxx> <admin@xxxxxxxxxxxxxx> wrote
in message 
news:46359B80.5060309@xxxxxxxxxxxxxxxxx
 
        

I have a strange problem with php , running on windows2003 with IIS.
PHP is installed like ISAPI and phpinfo runs well. The structure of 
the site is as well:
 
new site with document root: c:\web\project and url myproject.com
virtual directory with url myproject.com/subproject  and index.php  
page in subproject directory.
 
When I open myproject.com/subproject  the index.php runs well but 
when I try
myproject/subproject/index.php I'm getting "No input file 
specified." under firefox.
Any ideas how to fix this one ?
 
Greetings,
s.g.     
          

  
        

 
      

 
  

 


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux