wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes PHP on Orion ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "PHP on Orion ?" Watch "PHP on Orion ?" New topic
Author

PHP on Orion ?

Wally Schnok
Greenhorn

Joined: May 31, 2001
Posts: 29
trying to run a simply php application on Orion .
calling a .php page it gives me an
"500 Internal Server Error
Could not find/launch the interpreter, searched for "php"
"
Ok.
Hanging around with google i found this possible explanation :
"PHP must be in path for Orion to find it"
WHICH PATH ? Windows system variables path ? I already linked there my php.exe , but nothing !! i simply cannot find a clear doc on what to do to make php running on Orion.
Thnx..
Orion 2.0.2
Windows NT 4
PHP 4.3.4
w.s.
michael bradly
Ranch Hand

Joined: Oct 06, 2000
Posts: 112
I was always under the impression that Orion is primarily used for J2EE technologies, not PHP implementation.
I haven't delved deeply into Orion just yet, however I would suspect
that they might be refering to a config file in Orion. I would check the config file and search through for any mention of PHP and see if anything is commented out or deals with the placement of PHP files.
I've searched the Orion site and there doesnt seem to be much info. The only thing I've come across mentioning PHP is integrating Orion with Apache.
Michael
S. Sundar Raman
Greenhorn

Joined: Aug 12, 2004
Posts: 3
Hi,

Try restarting the windows machine. This is one solution for many of the problems.

Otherwise, try creating a batch file to start orion.
In the below example I have added the perl executables to the path.
You can try similarly for php executables also.

Something like this...
set path=%path%;C:\tools\perl\bin;
java -jar orion.jar

Hope this helps.

~S
[ August 12, 2004: Message edited by: S. Sundar Raman ]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Does your php script run from the command line?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PHP on Orion ?
 
Similar Threads
Servlets-4a
Trouble with Orion Server
Orion initial settings
Can't create "persistence" dir
BeeServlet and MVC2... again