RE: [PHP-DEV] Re: [PHP] Level of Java Support in PHP From: Peter Kocks (peter.kocks <email protected>)
Date: 09/28/00

Boy, have I spent hours and hours on this one.

I can compile php as servlet and run it in tomcat

(php-4.0.3RC1, Solaris 2.7, tomcat, Java 1.2)

BUT, BUT, BUT, I can never get the php output to go to the web browser.
Instead, the php script runs and cats the output to the console or pty that
I used to launch tomcat. It's as if the servlet does not know which file
descriptor points back to the browser. Very strange... I posted about this
maybe 3 weeks ago, no response, and I gave up as well.

If someone will help me, I'll help someone else get as far as I got.

--pk

-----Original Message-----
From: Benjamin Lee [mailto:benjaminlee <email protected>]
Sent: Thursday, September 28, 2000 5:15 PM
To: Michael Kimsal
Cc: jasonc <email protected>; php-general <email protected>; php-dev <email protected>
Subject: Re: [PHP-DEV] Re: [PHP] Level of Java Support in PHP

I'm sure it's already been answered for you and lots of offers are finding
their way into your mailbox... but...

Did you mean just getting it compiled?

Or compiled and running?

Which servlet API are you running? Platform? Blah blah... lotsa details
would help...

Cheers,
Ben

On Thu, Sep 28, 2000 at 06:21:48PM -0400, Michael Kimsal wrote:
> We've tried to compile it - it compiled once, but it doesn't run as a
> servlet. Haven't tried just the basic java extensions, but that
> seems less useful than the servlet model.
>
> Has ANYONE been able to get PHP to run as a servlet? We will pay
> $ to get this to work. Not sure how much $ yet, but we'll take
> offers... :)
>
>
>
> Jason Cox wrote:
>
> > I'm considering using PHP in an enterprise level web application and was
> > wondering how java support actually works with php. If I were to keep
my
> > business logic in servlets or beans, how exactly does PHP interact with
> > them. I know Java support is rather new. Is it pretty stable now?
> >
> > Thanks,
> >
> > Jason Cox
> >
> > _________--
>
> ==========================
> Michael Kimsal
> http://www.tapinternet.com
> 734-480-9961
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

--
B.      http://b.makelinux.org/      "Of course there is a reason why!"
__________________________________________________________________________
Brahma said: Well, after hearing ten thousand explanations, a fool is no
wiser.  But an intelligent man needs only two thousand five hundred.
		-- The Mahabharata

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>