try this link
http://www.orionsupport.com/articles/php.html
sachin
- Original Message -
From:
wzfg
To: Orion-Interest
Sent: Tuesday, April 23, 2002 7:29
AM
Subject: Does Orion support PHP? How to
enable it?
Hi,Friend,
As Httpd Server, Does Orion
http://www.orionsupport.com/articles/php.html
-Oprindelig meddelelse-Fra: wzfg
[mailto:[EMAIL PROTECTED]]Sendt: 23. april 2002
03:59Til: Orion-InterestEmne: Does Orion support PHP?
How to enable it?
Hi,Friend,
As Httpd Server, Does Orion support PHP? if yes,
How can I
Hi,Friend,
As Httpd Server, Does Orion support PHP? if yes,
How can I enable it?
Thanks a lot.
First thing, you have to be able to run PHP from the command line. It
must be in path for Orion to find it. I hope this helps...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Simon Stewart
Sent: Friday, February 22, 2002 1:46 PM
To: Orion-Interest
Has anyone out there managed to get PHP 4.1.1 to compile as a servlet
and work with Orion? It compiles and I can install it, but any attempt
to access a PHP document throws an "Unexpected Exception", and you get
a couple of screenfuls of backtrace from the JVM.
To compile PHP use some
Hi.
In order for this setup to work you need to compile php as a stand-alone
executable, name it php and put it in the execution path (/usr/bin/ may be a
good location).
Try it.
Orion wraps the php pages with a CGI-servlet, which executes external
commands to parse the files.
Lachezar
I am getting the following error,
500 Internal Server Error
Couldnt find/launch the interpreter, searched for "php"
My configuration file has the following,
php
com.evermind.server.http.
it is kind of easy.
add something like:
php
com.evermind.server.http.CGIServlet
interpreter
/usr/local/bin/php
php
/*.php
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
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
This is not about enabling php in Orion.
I've got that working!
But I had to make a small project using php against mySql,
since I use Orion as development that wasn't any problem.
However - I cannot connect to the database. I keep getting
either TCP/IP 10091 or 10101: Cannot create so
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
You should be able to set up the PHP executable using CGI.
I managed to get it working a few versions back (of both Orion and PHP) on
Win32, but it was somewhat buggy, and I didn't experiment tweaking it much.
May be better supported now.
Julian Doherty
Tecnical Manager, Website D
Is it possible to serve PHP pages with Orion ?
If yes, is there any kind of document ?
TIA,
Marcello
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
.
Hey folks!
Instead of choosing between JSP, PHP and ASP
go staight to www.sourceforge.net/projects/webwork
and get the latest source snapshot. This is the best
J2EE presentation framework yet and is much better
that STRUTS, COCOON, TAPESTRY, XMLC (to name a few)
The design is supperior (based on
I have extense experience in PHP... had to build large web apps with it;
but soon I've had to dump it because it isn't a tiered solution, nor it
allows for easy instanciation of components
It's array definition sucks(iteration of an array can be a painfully long to
code)
For sm
Very true. PHP is a strange mix between java, perl and c++, but it has some
very interesting plugins that can speed development. PHP can allso use
javaobjects :) that is a nice feature.Even EJB.
Still when youve done a couple of JSP projects you are likely to have built
yourself a set of
I guess the discussion was in a Linux environment. The speed issue
(especially development speed) is voiced a lot in Linux circles by PHP
advocates as the number of people in the Linux scene who know PHP far
outnumbers the number of JSP people in there.
Performance of PHP on Linux is likely also
Hello Frank,
Check this article from JGuru
http://www.jguru.com/jguru/faq/view.jsp?EID=10596
Wednesday, January 10, 2001, 5:28:44 AM, you wrote:
FE> Hi,
FE> I just ran into a discussion regarding PHP vs. JSP (and ASP). A claim was
FE> made that PHP was the better alternative as it i
I have used both PHP and JSP. If you understand PHP you can develop it
faster that JSP. The problem is that PHP is very Perl like which is a steep
learning curve and JSP will scale much better. The problem with this
comparison is you are leaving out Servlets. If you do JSP in the Model 2
style
Can't speak for the runtime performance - PHP, JSP, and ColdFusion are all
pretty fast - but I can't see how one can pin down development time
differences between PHP and JSP. Maybe with an atomic clock. ColdFusion is
faster still (higher level of abstraction).
IMO the only sensibl
Hi,
I just ran into a discussion regarding PHP vs. JSP (and ASP). A claim was
made that PHP was the better alternative as it is quicker in development
and gives
you a better runtime performance. I have no hands-on PHP experience. Can
anyone explain me the benefits of PHP over JSP (and vice
ha, interesting indeed (not that I intend to migrate my programming to PHP,
I am quite happy with JSP right now, but still...)
- Original Message -
From: "Joe Walnes" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, December 1
>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 Servle
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: O
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("e
You're a dork!
On Tue, 12 Dec 2000, Joe Walnes wrote:
> Yes it does, and very well indeed. Nice thing is that PHP can interact with
> Java objects (such as EJB's) so it makes for a nice presentation layer.
>
> I await the flames.
>
> -Joe Walnes
>
> At
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
Yes it does, and very well indeed. Nice thing is that PHP can interact with
Java objects (such as EJB's) so it makes for a nice presentation layer.
I await the flames.
-Joe Walnes
At 10:19 12/12/2000 +0200, you wrote:
>Hello folks,
>
>has anyone mixed orionserver and php?
>
&
Hello folks,
has anyone mixed orionserver and php?
If you don't want to install Apache,
but enable php, will it run over orionserver?
Regards, Jukka
Thanks Sean. That's exactly the setup I'm running, I've tried swapping the
CGIServlet for the php one but still the same result.
Any more ideas would be appreciated.
Tim.
-Original Message-
From: Sean Leach [mailto:[EMAIL PROTECTED]]
Sent: 14 November 2000 16:02
To:
I have it setup and running fine, I use:
php
com.evermind.server.http.CGIServlet
interpreter
php
php
/*.php
php
/*.phtml
etc...
And it works great for me. Hope this helps. Good luck!
Sean
Hi,
I have a few php things I would like to run on my Orion server so I
installed the php servlet:
In global-web-application.xml changed:
com.evermind.server.http.CGIServlet
to
net.php.servlet
Put the phpsrvlt.jar into the jdk1.3/jre/lib
>The Orion-server is supposed to be able to run PHP-script isn't it? Well, I
>can't seem to enable the CGIServlet that is mapped to handle PHP. Anyone
>done this? What to do?
Repeat post.
-Joe Walnes
---
Date: Tue, 2
I had to goto www.php.net and download the php library and install it. It now
works fine except I am having a problem creating a socket under it.
SnowWolf Wagner
-Original Message-
From: =?utf-8?Q?Mikael_Andr=C3=A9asson?= <[EMAIL PROTECTED]> at Internet
Sent: Friday, March 24, 200
The Orion-server is supposed to be able to run PHP-script isn't it? Well, I
can't seem to enable the CGIServlet that is mapped to handle PHP. Anyone
done this? What to do?
Grateful for replies.
/Mikael Andréasson
>Has anyone successfully managed to get PHP workingwith Orion? Their is some
>mention of "com.evermind.server.http.CGIServlet", but that doesn't seem to
>come with the Orion package, and the evermind site is in German - or
>something - and I can't find the c
Has anyone successfully managed to get PHP workingwith Orion? Their is some
mention of "com.evermind.server.http.CGIServlet", but that doesn't seem to
come with the Orion package, and the evermind site is in German - or
something - and I can't find the classes. (I only spe
39 matches
Mail list logo