Re: Re: php win2003 - No input file specified.
| From: | Simeon Goranov | Date: | Mon, 30 Apr 2007 12:13:39 +0000 |
| Subject: | Re: Re: php win2003 - No input file specified. | ||
| References: | 1 2 3 4 5 6 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27792@lists.php.net to get a copy of this message | ||
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@thefreeart.com] Sent: segunda-feira, 30 de Abril de 2007 12:54 To: php@emgee.se Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] 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 <php@emgee.se>" написа:It sounds like your index file isn't index.php but some other file. Mike Simeon Goranov skrev: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 написа:I'm sorry, I made a typo in mail writing.-- Jeremy "Simeon Goranov" <admin@thefreeart.com> wrote in message news:46359B80.5060309@thefreeart.com...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.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,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:s.g.