tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peng Tuck Kwok <>
Subject RE: Tomcat outputs php to stderr
Date Thu, 02 Oct 2008 12:01:42 GMT
I recall seeing a config value in php that lets you dump the output to the console instead
of the rendered page. not sure if this is valid if you run php under tomcat :P

-----Original Message-----
From: Serge Fonville
Sent:  30/09/2008 19:08:21
To: Tomcat Users List
Subject:  Re: Tomcat outputs php to stderr

Thank you so far, I will definitely look into Quercus.

Still, I would like to understand why output is sent to stderr and if it can
be solved (I recall running PHP and tomcat in the past) without problems

On Tue, Sep 30, 2008 at 12:04 AM, Johnny Kewl <> wrote:

> ----- Original Message ----- From: "Serge Fonville" <
> To: <>
> Sent: Monday, September 29, 2008 6:00 PM
> Subject: Tomcat outputs php to stderr
> Hi,
>> I am developing a ticket system which should use servlets to connect to
>> the
>> various resources.
>> Currently I am a php developer and busy to learn JSP/TLD/Servlets
>> I installed Tomcat 6.0.18 with PHP 5.2.6 on Windows Vista Business (the
>> production server will be running either Gentoo or CentOS).
>> Installation went fine, no errors. just one thing I couldn't resolve.
>> All output generated by php goes directly to the stderr log file instead
>> of
>> the browser (JSP and servlets work fine)
>> I used
>> and to configure the two.
>> I started reading about listeners, log4j and servlet mappings.
>> This seemed over the top to me, so I decided to just ask the  question
>> here.
>> Any help is greatly appreciated
> Dont do it this way... run PHP on Apache httpd... its the PHP container...
> and do your servlet stuff in TC... its a good servlet container.
> Then put Apache httpd in front of TC... read up on the JK connector... and
> then to the browser its *one system*....
> Thats how they do it ;)
> If you insist on wanting the Java PHP layer... Resin is probably the
> best... they not calling into a PHP engine, they rewrote it in Java...
> whether they up to date with all modules is the question?
> Anyway... just trying to show you that you dont have to change a thing...
> join em ;)
> Have fun..
> ---------------------------------------------------------------------------
> The most powerful application server on earth.
> The only real POJO Application Server.
> See it in Action :
> ---------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To start a new topic, e-mail:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message