-
15. Re: servlets-php.jar - where do I get this file?
robinwilson2 Oct 18, 2007 5:08 PM (in response to robinwilson2)OK, more digging and I've found more of the problems:
1) The instructions provided by JBoss _ALL_ say to use the following line in your "server.xml":
But the correct line is:
(If you are using the "jbossweb-extras.jar" file instead of the "servlets-php.jar" file.)
2) Same sort of problem in the "conf/web.xml" file:
Change:
<servlet-class>org.apache.catalina.servlets.php.Handler</servlet-class>
and
<servlet-class>org.apache.catalina.servlets.php.Highlight</servlet-class>
to:
<servlet-class>org.jboss.web.php.Handler</servlet-class>
and
<servlet-class>org.jboss.web.php.Highlight</servlet-class>
It looks like the instructions are pointing everyone to the "default" config for the catalina/tomcat setup, not to the stuff for the official "JBoss" setup.
Also, If I do the "info.php" I'm still seeing a bunch of stuff pointing to "/home/jfclere" for php configurations. I'd really appreciate some help on what I need to do to fix that. -
16. Re: servlets-php.jar - where do I get this file?
jfclere Oct 19, 2007 3:05 AM (in response to robinwilson2)"That being said, if I leave the servlets-php.jar file alone, it seems to function - barely (as in the examples work, but little else)."
What do you mean? (What is not working?). -
17. Re: servlets-php.jar - where do I get this file?
jfclere Oct 19, 2007 5:07 AM (in response to robinwilson2)The php.ini location is astandard php environment variable.
To set it just add in bin/run.conf something like
PHPRC=/home/robinwilson2/jbossweb-1.0.1.GA/PHP/php.ini
export PHPRC
The file have to exist and have a valid content to be taken in account. -
18. Re: servlets-php.jar - where do I get this file?
robinwilson2 Oct 19, 2007 12:39 PM (in response to robinwilson2)Many thanks for the help - all is well now!
Fixing the "server.xml" and "web.xml" files seems to have fixed the main problem (that I was using "servlets-php.jar" instead of "jbossweb-extras.jar" -- since I no longer get any errors at startup).
I've now got the problem that my paths don't seem to track when I'm in JBoss web, like they do in Apache. So my "drupal" code (and "phpmyadmin") always thinks it was started at "/", which is breaking it... I'm trying to figure out what variables I set to fix this now. -
19. Re: servlets-php.jar - where do I get this file?
monkeyden Feb 29, 2008 1:06 PM (in response to robinwilson2)How do I get the .so files if I'm running Windows? Only comes with .sh.
-
20. Re: servlets-php.jar - where do I get this file?
robinwilson2 Feb 29, 2008 1:45 PM (in response to robinwilson2)I'm not sure exactly what you're asking - the instructions led me to download the "windows" package for the ".dll" files I needed. The "jbossweb-1.0.1.GA.zip" included a "native" folder (in 'bin/native') that has the necessary ".dll" files.
You can ignore the ".sh" files in "bin", they aren't needed for Windows. But there are several ".bat" files (like "run.bat", and "shutdown.bat") that control the jboss server. There's also a "service.bat" that lets you install JBossweb as a service on your machine. -
21. Re: servlets-php.jar - where do I get this file?
ravindrashinde11 Jun 5, 2009 3:30 AM (in response to robinwilson2)I have to use JBOSS4.0.2 application server to run PHP How can I do this? Is it necessary to use JBOSSWEB1.0.1 for this? If yes how can configure JBOSSWEB1.0.1 with JBOSS4.0.2 application server to run PHP?
-
22. Re: servlets-php.jar - where do I get this file?
peterj Jun 5, 2009 11:58 AM (in response to robinwilson2)Please do not ask the same question in multiple topics - it makes it a real headache to get you question answered.
Continued at http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235707#4235707