Re: SV: Orionserver php

2000-12-13 Thread Joe Walnes
what exactly do you mean by "compile PHP as a servlet"? Isnt PHP written in C/C++? It's written in C and comes with different wrappers for executing it, the most common being a standalone CGI process or compiled into Apache as a module. However, there is also a Servlet wrapper, which uses JNI

Re: SV: Orionserver php

2000-12-13 Thread Christian Sell
0 AM Subject: Re: SV: Orionserver php what exactly do you mean by "compile PHP as a servlet"? Isnt PHP written in C/C++? It's written in C and comes with different wrappers for executing it, the most common being a standalone CGI process or compiled into Apache as a module. Ho

SV: Orionserver php

2000-12-12 Thread Klaus . Myrseth
This is actually VERY easy to do, just compile a normal php cgi executable without apache integration and install it in your path... Dont touch anything in orion, but restart it... Then make a file in your default webapp or something containing the following to test if it works: info.php -

Re: SV: Orionserver php

2000-12-12 Thread Joe Walnes
Or, if you're feeling daring... Compile PHP as a servlet and then place the classes and necessary servlet-mappings in your web-app. Then from your PHP, you can do stuff like: % $ctx = new Java("javax.naming.InitialContext"); $myHome = $ctx-lookup("ejb/MyBean"); $me =

Re: SV: Orionserver php

2000-12-12 Thread Christian Sell
what exactly do you mean by "compile PHP as a servlet"? Isnt PHP written in C/C++? - Original Message - From: "Joe Walnes" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 3:14 PM Subject: Re: SV: Orionserver php