php-install Digest 1 Jan 2003 22:22:31 -0000 Issue 1181

Topics (messages 9473 through 9475):

Need Help.
        9473 by: thkiat

Re: [PHP] Need Help.
        9474 by: Jason Sheets

cgi.force_redirect error
        9475 by: Kristof Troch

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hi, I'm a newbie for PHP. Just installed IIS & PHP on my PC. A test run gave me this:-
Warning: main(quote.php) [function.main]: failed to create stream: No such file or 
directory in C:\Documents and Settings\aaa\My Documents\My 
Webs\excelpoint.org\index.php on line 139

Warning: main() [function.main]: Failed opening 'quote.php' for inclusion 
(include_path='.;c:\php4\pear') in C:\Documents and Settings\aaa\My Documents\My 
Webs\excelpoint.org\index.php on line 139

Somehow, I don't have this problem when I run this file on my remote webserver.

Please advise. TQ!!!
--- End Message ---
--- Begin Message ---
Your include path is not setup so that the web server can find the file
you are trying to include, if the file is in a sub directory make sure
you are properly including it include_once('include/main.php') not just
include_once('main.php').

And make sure the file you are trying to include exists in the location
you think it does.

Jason
On Wed, 2003-01-01 at 01:28, thkiat wrote:
> Hi, I'm a newbie for PHP. Just installed IIS & PHP on my PC. A test run gave me 
>this:-
> Warning: main(quote.php) [function.main]: failed to create stream: No such file or 
>directory in C:\Documents and Settings\aaa\My Documents\My 
>Webs\excelpoint.org\index.php on line 139
> 
> Warning: main() [function.main]: Failed opening 'quote.php' for inclusion 
>(include_path='.;c:\php4\pear') in C:\Documents and Settings\aaa\My Documents\My 
>Webs\excelpoint.org\index.php on line 139
> 
> Somehow, I don't have this problem when I run this file on my remote webserver.
> 
> Please advise. TQ!!!

--- End Message ---
--- Begin Message ---
Happy New Year!
Hello,

I just installed php 4 on IIS 6.0. The installation completed succesfully.
Neverthless when I wanted to see it work in my browser it gave the below
mentionned errror. The error didn't disappear after I changed the
cgi.force_redirect value in the php.ini file to 0 under my c:\win directory
and rebooted. Can someone tell me what I'm doing wrong?
PS: I added the webservice extensions for php in the ISS MMC

Thanks in advance

/*
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means
that a page will only be served up if the REDIRECT_STATUS CGI variable is
set, e.g. via an Apache Action directive.

For more information as to why this behaviour exists, see the manual page
for CGI security.

For more information about changing this behaviour or re-enabling this
webserver, consult the installation file that came with this distribution,
or visit the manual page.

*/


--- End Message ---

Reply via email to