You are here: Re: Running PHP under Orion Server? « PHP Programming Language « IT news, forums, messages
Re: Running PHP under Orion Server?

Posted by Malcolm Dew-Jones on 08/12/05 08:15

Vaca Louca (amos.shapira@gmail.com) wrote:
: Hello,

: I'm trying to run a few PHP applications (phppgadmin, Horde)
: under Orion Java Server (http://orionserver.com) and so far
: couldn't make it work.

: I know this is more of an Orion-specific question but I can't
: find a good Orion support forum.

: I tried configuring Orion web-module to these applications but
: it seems that it thinks these are Java Servlet applications
: and looks for their configuration files (WEB-INF/web.xml and
: such).

: Does anyone here had experience with this?

: I'm aware that this ia not the recommanded practice but this
: is the reuqirement I have to deliver.


Does Orion have this capability at all?

For development, Orion can certainly handle static pages as well as java
code. But that's all that's required for most java web development tasks,
because a java web app will typically have either java servlets (JSP is
really just a servlet) or static pages (.html, .css, .js etc).

But in production you would normally have Apache handling most of your
queries, and Apache passes the Java work to Orion, so all Orion is doing
is the Java.

So that is why I wonder whether Orion has the capability to handle things
like cgi and php at all.

Perhaps you need to use/configure/write a java servlet that uses
java.lang.Runtime.exec() to run php (which in turn would run your php
script).


Or use Apache as the front end to Orion.

--

This space not for rent.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация