[PHP] Premature end of script headers: php

2005-02-03 Thread Claudio
Hi, Im trying to use PHP4 and PHP5 at the same time. PHP4 as CGI and PHP5 as module. PHP5 ist actually not present and not installed PHP4 runs find as module, when I try to use it as CGI I receive the error message: Premature end of script headers: php Can someone help me? Here my used

Re: [PHP] Premature end of script headers: php

2005-02-03 Thread Marek Kilimajer
of script headers: php Can someone help me? Here my used configurations: Testfile: ?php phpinfo(); ? Webserver: Apache 2.0.50 (Linux/Suse) installed as RPM PHP4 version 4.3.10 self compiled from downloaded tar ./configure \ --with-apxs2=/usr/sbin/apxs2-prefork

Re: [PHP] Premature end of script headers: php

2005-02-03 Thread Claudio
to use PHP4 and PHP5 at the same time. PHP4 as CGI and PHP5 as module. PHP5 ist actually not present and not installed PHP4 runs find as module, when I try to use it as CGI I receive the error message: Premature end of script headers: php Can someone help me? Here my used configurations

Re: [PHP] Premature end of script headers: php

2005-02-03 Thread Marek Kilimajer
Claudio wrote: Maybe... What is the diference? In /usr/local/php-4.3.10/ I have 5 files after make install (pear php php-config phpextdist phpsize) What should I do? How can I make the cgi-executable? Marek Kilimajer wrote: My guess cli binary is executed instead of cgi. Try $

Re: [PHP] Premature end of script headers: php

2005-02-03 Thread Richard Lynch
Claudio wrote: Maybe... What is the diference? In /usr/local/php-4.3.10/ I have 5 files after make install Leave off the --with-apxs2 in your ./configure should make the CGI binary. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Premature end of script headers: php

2005-02-03 Thread Claudio
gw:/usr/local/php-4.3.10/bin # ./php -v PHP 4.3.10 (cli) (built: Feb 3 2005 17:58:19) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies Your guess was correct... after a new configure without axp2s... gw:/usr/local/php-4.3.10/bin # ./php -v PHP

[PHP] Premature end of script headers

2004-08-04 Thread Kevin Schroeder
Hello, I'm having the weirdest problem. I'm trying to install PHP as a CGI program using SuExec and FastCGI but I keep on getting a Premature end of script headers: php error in my Apache error_log. I got it working when I set up PHP to run as a CGI program when there's no virtual hosts

[PHP] Premature end of script headers: php.exe

2003-12-04 Thread Goran Ristic
Hello, I have a problem. When I start my PHP script, I get message Premature end of script headers: php.exe. How can I solve this problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Premature end of script headers: php.exe

2003-12-04 Thread Marek Kilimajer
This is a common error with php/iis combination, google for the error string to find possible solutions. Goran Ristic wrote: Hello, I have a problem. When I start my PHP script, I get message Premature end of script headers: php.exe. How can I solve this problem? -- PHP General Mailing List

Re: [PHP] Premature end of script headers: php.exe

2003-12-04 Thread David Otton
On Thu, 4 Dec 2003 13:17:57 +0100 , you wrote: I have a problem. When I start my PHP script, I get message Premature end of script headers: php.exe. How can I solve this problem? Run from the command line, or via a webserver? IIS or Apache? CGI or Apache module? Do all scripts throw the error,

Re: [PHP] *Premature end of script headers

2002-12-19 Thread Alexey Lysenkov
I've found it! It's session thing. Why? It stops at session_start, and moreover, I overslept this morning. Two minutes ago it had to be ready, shit!.. I'm sorry. At the other machine it runs as .exe not as mod, the guy said, version 4.0.5. I can use only $HTTP_SESSION_VARS array, but I don't know

[PHP] *Premature end of script headers

2002-12-18 Thread Alexey Lysenkov
What does THAT mean? My script cannot execute on this goddamn server, running goddamn safe-damn-mode! A line in the error.log: [Wed Dec 18 14:18:55 2002] [error] [client 217.***.*.***] Premature end of script headers: e:/~~~/~~~/apache/php/php.exe Regards, Alex What should I tell the support

Re: [PHP] *Premature end of script headers

2002-12-18 Thread Adam Voigt
Calm down. Does it do that same error if you have something simple like: ?php phpinfo(); ? On a page all by itself? On Wed, 2002-12-18 at 13:12, Alexey Lysenkov wrote: What does THAT mean? My script cannot execute on this goddamn server, running goddamn

Re: [PHP] *Premature end of script headers

2002-12-18 Thread Alexey Lysenkov
Not that I am really bothered with it... The thing should run in 12 hours, and the guy is gone, I guess, to have his late night beer, and me is sitting here and battling with either my stupidity or his. Anyways. phpinfo() runs okay Adam Voigt [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] *Premature end of script headers

2002-12-18 Thread Alexey Lysenkov
Guys? The support guy says that my php-script brings his php interpreter to crash. I am astonished (wow-what a powerful man I am :) ) - no, but really, it doesn't crash MY server? He also said, it happens just right after the file is being asked for, that is, as I suspect, somewhere in the first

RE: [PHP] *Premature end of script headers

2002-12-18 Thread Dave [Hawk-Systems]
Guys? The support guy says that my php-script brings his php interpreter to crash. I am astonished (wow-what a powerful man I am :) ) - no, but really, it doesn't crash MY server? He also said, it happens just right after the file is being asked for, that is, as I suspect, somewhere in the first

[PHP] Premature end of script headers

2001-10-24 Thread Tshering Norbu
Hi list, What/why this error: [Wed Oct 24 17:03:33 2001] [error] [client 127.0.0.1] Premature end of script headers: c:/php4win/php.exe Thanks, NOBBY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Premature end of script headers:

2001-08-05 Thread Gary
Hello All, writing to a flat file I am getting 500 error with Apache. I know the path is correct and when I delete the file.txt and try to write to it. A new file is created but no writing. What does Premature end of script headers: mean? TIA Gary -- PHP General Mailing List

RE: [PHP] Premature end of script headers:

2001-08-05 Thread Jason Murray
Hello All, writing to a flat file I am getting 500 error with Apache. I know the path is correct and when I delete the file.txt and try to write to it. A new file is created but no writing. What does Premature end of script headers: mean? It usually means the execution of the script

[PHP] Premature end of script headers error

2001-01-26 Thread pil
Hi, I compiled and installed php4 for the first time and it seems that all went right as the notice in /var/log shows: [notice] Apache/1.3.12 (Unix) PHP/4.0.4pl1 configured -- resuming normal operations But when I try to execute any sort of php script Im stuck with an Internal Server error and

Re: [PHP] Premature end of script headers error

2001-01-26 Thread Richard Lynch
/volunteer.htm - Original Message - From: [EMAIL PROTECTED] Newsgroups: php.general Sent: Friday, January 26, 2001 10:47 AM Subject: [PHP] Premature end of script headers error Hi, I compiled and installed php4 for the first time and it seems that all went right as the notice in /var