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
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
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
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
$
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
/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
21 matches
Mail list logo