RE: Running PHP on Orion
I've thought about this a few times but never took the time to try it. I'm thinking of a configuration where you use apache in front of Orion. That way you could set up apache to recognize the .php extension. Anyway... Let me know if it works. The bigger issue I was thinking about was session information across apps written on different platforms. For example. Is there some way to store all you session information in some persistent session db that could be accessed by both php and the appserver. would there be synchronization issues with the db having to different applications (on different platforms) having handles to the same tables. This setup would be useful for all the companies that wrote everything right away in php... to just get it out there... now want to rewrite it and stick it on an appserver... but want to do it iteratively. Thanks. Casey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steven De Schutter Sent: Wednesday, December 05, 2001 12:26 AM To: Orion-Interest Subject: Running PHP on Orion Hellow , Is it possible to run PHP on a Orion-server ? If yes ... which configurations do I have to do ? And where do I have to put my php-files ? Regards Steven
RE: Running PHP on Orion
it is kind of easy. add something like: servlet servlet-namephp/servlet-name servlet-classcom.evermind.server.http.CGIServlet/servlet-class init-param param-nameinterpreter/param-name param-value/usr/local/bin/php/param-value /init-param /servlet servlet-mapping servlet-namephp/servlet-name url-pattern/*.php/url-pattern /servlet-mapping servlet-mapping servlet-namephp/servlet-name url-pattern/*.php3/url-pattern /servlet-mapping to web.xml and/or global-web-application.xml The only problem is that you need to compile php with other options than normal: I've compiled it with something like this: ./configure --with-mysql=/usr --disable-force-cgi-redirect --enable-force-cgi-redirect=/etc/openldap --without-gd --e nable-calendar --enable-discard-path --enable-trans-sid --with-openssl --with-imap --enable-inline-optimization A. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Casey Helbling Sent: Mittwoch, 5. Dezember 2001 15:33 To: Orion-Interest Subject: RE: Running PHP on Orion I've thought about this a few times but never took the time to try it. I'm thinking of a configuration where you use apache in front of Orion. That way you could set up apache to recognize the .php extension. Anyway... Let me know if it works. The bigger issue I was thinking about was session information across apps written on different platforms. For example. Is there some way to store all you session information in some persistent session db that could be accessed by both php and the appserver. would there be synchronization issues with the db having to different applications (on different platforms) having handles to the same tables. This setup would be useful for all the companies that wrote everything right away in php... to just get it out there... now want to rewrite it and stick it on an appserver... but want to do it iteratively. Thanks. Casey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steven De Schutter Sent: Wednesday, December 05, 2001 12:26 AM To: Orion-Interest Subject: Running PHP on Orion Hellow , Is it possible to run PHP on a Orion-server ? If yes ... which configurations do I have to do ? And where do I have to put my php-files ? Regards Steven
Running PHP on Orion
Hellow , Is it possible to run PHP on a Orion-server ? If yes ... which configurations do I have to do ? And where do I have to put my php-files ? Regards Steven
Re: PHP with Orion
Hello Marcello, Yes, it can be done. You need to modify the file global-web-application.xml in your config directory.There is a servlet used for serving pages using a CGI interpreter (like php). Below is an example of the servlet definition I use(change php4 with the path to the php exec) servlet servlet-namephp/servlet-name servlet-classcom.evermind.server.http.CGIServlet/servlet-class init-param param-nameinterpreter/param-name param-valuephp4/php/param-value /init-param /servlet It as worked of so far. You can even have jsp and php pages served in the same app, but there will be separate session for the jsp and php pages. Monday, September 03, 2001, 4:44:25 PM, you wrote: MM Is it possible to serve PHP pages with Orion ? MM If yes, is there any kind of document ? MM TIA, MM Marcello -- Best regards, Rafaelmailto:[EMAIL PROTECTED]
PHP with Orion
Is it possible to serve PHP pages with Orion ? If yes, is there any kind of document ? TIA, Marcello
PHP and Orion
Does anyone have any experience of running PHP in Orion. If so how did you install it etc.. Would appreciate any tips you could give. Johnny .