Click to See Complete Forum and Search --> : PHP & Weblogic


Anon
11-14-2000, 07:52 PM
Hi there,

Does anyone know how to install PHP under Weblogic? Practical assistance or reference web sites needed.

Thanks
Venkatesh

Anon
01-03-2001, 08:44 AM
If you use Apache + weblogic module for apache you could just have a normal php installation in a weblogic environment.

This way you could easily have two thier application (based on PHP) and three thier (JSP + EJB) on the same server.

ciao,
Marco

Anon
01-03-2001, 03:57 PM
Hi
It means that i should have Apache as well to run PHP?Weblogic alone is not compatible for PHP?

Thanks
Venkatesh

Anon
01-03-2001, 04:25 PM
Well, if you want to run it on Weblogic webserver _I THINK_ that you should run it either as a cgi or as a servlet (php can be compiled as a servlet).

Well everyone knows that a cgi is worse that a native module (like apache mod_php) and I read on the usenet that many people had problem running php as a servlet (but this is something that I just read so you better verify it yourself).

ciao,
Marco

Anon
01-03-2001, 05:14 PM
Hi
Thanks for the info i will check it out
Regards
venkatesh

Anon
06-24-2001, 11:12 PM
I'm looking to configure PHP under weblogic as well. Setting up an apache server to proxy through is too clunky.

I'm planning to user the CGI Servlet provided by BEA. Does anyone have any further information on how to do this? As in yes I've done it and here is an example file...

Thanks in advance,

Desmond

Anon
09-25-2001, 02:27 AM
After much investigation, I have tried the following:
1.) weblogic apache plugin - this was virtually useless in that the plugin does not provide a way to share session state information.
2.) cgi servlet - BEA does not handle the CGI output as "real" cgi. The cgi is an actual servlet that attempts to interpret the output of the forked process and in the case of PHP fails. The example with perl seems to work fine.
3.) stand alone apache - This turned out to be a good solution. We post the session variables into the stand alone server and pass a secure token thru a database connection to a shared system.
4.) php servlet - This appears to be the best solution. PHP ships with a servlet that can be registered in weblogic. I'm testing this out now but so far I haven't found any problems. When this testing is complete, I'll post an example properties file and method of invoking it from Weblogic.

PHP Rocks!!!

Anon
02-08-2002, 02:45 AM
Hi Venkatesh and DW,

I am also trying to use PHP in weblogic.
I do not want to use Apache server.
Please could u tell me where can I get
PHP Servlet package that could be registered in weblogic.
Thanks in advance

regards
mohan

Anon
03-20-2002, 09:53 PM
Hi, Can you please tell me where can I find the php servlet. You mentioned that it ships with php, but I dunnoe which file to start looking for. Hope you can enlighten me on this one

Thanks