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

From: Date: Tue, 13 Jul 2004 13:28:57 +0000
Subject: #29117 [NEW]: Php and java as CGI : Premature End of script headers...
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62136@lists.php.net to get a copy of this message
From: soulpower at 9online dot fr Operating system: Windows 2000 Server PHP version: 4.3.7 PHP Bug Type: Java related Bug description: Php and java as CGI : Premature End of script headers... 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 bug report at http://bugs.php.net/?id=29117&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29117&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29117&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29117&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29117&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29117&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29117&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29117&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29117&r=support Expected behavior: http://bugs.php.net/fix.php?id=29117&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29117&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29117&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29117&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29117&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29117&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29117&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29117&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29117&r=float

« previous php.bugs (#62136) next »