#29117 [Opn]: Php and java as CGI : Premature End of script headers...

From: Date: Tue, 13 Jul 2004 13:32:42 +0000
Subject: #29117 [Opn]: Php and java as CGI : Premature End of script headers...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62137@lists.php.net to get a copy of this message
ID: 29117 User updated by: SouLPower at LaPoste dot fr -Reported By: soulpower at 9online dot fr +Reported By: SouLPower at LaPoste dot fr Status: Open Bug Type: Java related Operating System: Windows 2000 Server PHP Version: 4.3.7 New Comment: I got a big problem with java and php... I use php as CGI because it's the only way for my javabeans to work... I'm working on a migration from ASP to PHP pages for a firm but the ASP pages used some activeX, and now the firm wants to use javabeans with PHP... But this javabeans don't work correctly with php : in fact, when i load the javabeans (ie : $MaClasse = New Java("MaClass");) it works ONLY if i just load 1 classe, but i need to load 3... So, when i use only 1 javabeans, the page comes correctly, but with 2 or more, i got this error in error.log of apache : "Premature End Of Script Headers : e:/php/php.exe" Apache (v1.3.31) is setup correctly, and PHP too. I use JDK (J2EE 1.4), but the bug is always there... I don't understand why it works with 1 and not with 2 or more... If someone could help me please :) Thank you very much. Previous Comments: ------------------------------------------------------------------------ [2004-07-13 15:28:55] SouLPower at LaPoste dot fr Description: ------------ I got a big problem with java and php... I use php as CGI because it's the only way for my javabeans to work... I'm working on a migration from ASP to PHP pages for a firm but the ASP pages used some activeX, and now the firm wants to use javabeans with PHP... But this javabeans don't work correctly with php : in fact, when i load the javabeans (ie : $MaClasse = New Java("MaClass");) it works ONLY if i just load 1 classe, but i need to load 3... So, when i use only 1 javabeans, the page comes correctly, but with 2 or more, i got this error in error.log of apache : "Premature End Of Script Headers : e:/php/php.exe" Apache (v1.3.31) is setup correctly, and PHP too. I use JDK (J2EE 1.4), but the bug is always there... I don't understand why it works with 1 and not with 2 or more... If someone could help me please :) Thank you very much. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29117&edit=1

« previous php.bugs (#62137) next »