|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-07-13 15:28 UTC] 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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 11:00:02 2025 UTC |
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.