hi,
I have tryed .cphp in that way there's no conflict 

I have searched on the net and I've found others persons that have that 
problem but I've found no answer :( 

Bye,
Philippe 


Andrey Hristov writes: 

> Try to change your script's extension to .cgi instead of .php . It _may_ help. 
> 
> -- 
> Andrey Hristov
> Web Developer
> Icygen Corporation
> BUILDING SOLUTIONS
> http://www.icygen.com 
> 
> On Monday 22 October 2001 04:15 am, you wrote:
>> Hi,
>> You're right Dave 
>>
>> But nobody had already used PHP with CGI and with Apache ??? 
>>
>> I searched on the net, but I've found no documentation on this problem 
>>
>> Bye
>> Philippe 
>>
>> Dave Goodrich writes:
>> > Nope it fails when he removes the line. It fails on me as well, I tried
>> > it. Also note I did say that the ouput of phpinfo() was correct. The
>> > output showed the page had been handled by the php cgi binary, not the
>> > module.
>> >
>> > The module has a large config line and several extensions
>> > configured in, the cgi binary was compiled with nothing but "./configure"
>> > and the info page confirms this.
>> >
>> > So it seems Apache is handling everything correct, the page gets passed
>> > to the proper php binary, and the result is correctly served back to the
>> > client.
>> >
>> > DAve
>> >
>> > On Sun, Oct 21, 2001 at 12:18:07PM -0500, Brian Mauter wrote:
>> >> Seems to me that the problems is that you have two instances of PHP
>> >> going at the same time.  The first is the one compiled into Apache and
>> >> the second is the cgi module.  My bet is that the PHP compiled into
>> >> Apache is catching it first (maybe you told all .cgi files to be parsed
>> >> by the PHP parser?).  In that case, the first line would be treated as
>> >> HTML output, not PHP.  This would be the reason you get that line in all
>> >> of your scripts.  Here's a test:  remove that line from your file and
>> >> then try it.  If it continues to work, I would seriously suspect that
>> >> the built-in Apache-PHP parser is handling your .cgi files.
>> >>
>> >> -Brian
>> >>
>> >> -----Original Message-----
>> >> From: Dave Goodrich [mailto:[EMAIL PROTECTED]]
>> >>
>> >>  * snip
>> >> info.cgi
>> >> #!/usr/local/bin/php
>> >> <?php
>> >>   phpinfo();
>> >> ?>
>> >
>> > --
>> > My other computer is your Windows machine...
>> >
>> >
>> >
>> > --
>> > PHP General Mailing List (http://www.php.net/)
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>  
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED] 
> 
 

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to