-
1. Re: JBossWeb 1.0.1 GA + PHP + PHP Extensions Windows XP - Wo
fievet.p Jan 15, 2007 7:03 PM (in response to fievet.p)It's now online !
I hope I did'nt forgot anything ... and that some people will use it !
Comments are welcome ...
http://www.fievet.biz/jbossweb-install
fievet.p -
2. Re: JBossWeb 1.0.1 GA + PHP + PHP Extensions Windows XP - Wo
nhpvti Jan 29, 2007 9:57 AM (in response to fievet.p)Thank you very much! It was very helpful.
-
3. Re: JBossWeb 1.0.1 GA + PHP + PHP Extensions Windows XP - Wo
nhpvti Jan 30, 2007 4:26 AM (in response to fievet.p)Thank you very much! It was very helpful.
-
4. JBossWeb 1.0.1 GA 64bit and PHP 32bit
unique Feb 11, 2007 4:38 AM (in response to fievet.p)Hello, this was great tutorial, it is much more usefull for windows users than jboss web server user gude...
I installed jbossweb-1.0.1.GA 64bit edition and it seems to be working fine.
Then I downloaded php5servlet-windows-i586-SP1.zip and exracted it into C:\php5. When I setup all the things and tryed to run the php file it throws an exception:exception javax.servlet.ServletException: Servlet.init() for servlet php threw exception org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:811) org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:632) org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) java.lang.Thread.run(Thread.java:595) root cause java.lang.UnsatisfiedLinkError: C:\php5\bin\php5servlet.dll: %1 is not a valid Win32 application, no libphp5servlet in java.library.path(C:\Program Files\Java\jdk1.5.0_09\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\jbossweb-1.0.1.GA\bin\\native;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\ZipGenius 6\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files (x86)\Mpich\lib;c:\php5\bin;c:\php5\bin\ext) org.apache.catalina.servlets.php.Library.<init>(Library.java:64) org.apache.catalina.servlets.php.Library.initialize(Library.java:103) org.apache.catalina.servlets.php.Handler.init(Handler.java:104) org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:811) org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:632) org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) java.lang.Thread.run(Thread.java:595)
In also tryed to change PHP_HOME env variable from c:/php5 to c:\php5
Is that because I mixed 64bit version of web server with 32bit phpservlet or I made something else wrong? -
5. Re: JBossWeb 1.0.1 GA + PHP + PHP Extensions Windows XP - ex
nparag Feb 11, 2007 9:08 AM (in response to fievet.p)Thank you for the detailed tutorial.
I tried to run the examples but not all of them work.
I get an error saying "undefined function ImageCreate()" when running the cal.php example.
I googled this kind of problem and it seems to be an upgrade issue from extension library gd1 to gd2 or something.
I verified that my extension_dir in php.ini is specified correctly and that php_gd2.dll is uncommented. I also tried copying all dlls to the jbossweb bin/native directory. nothing helped. I saw that the extensions feature may be supported only in Solaris. Is it true?
Thanks in advace -
6. Re: JBossWeb 1.0.1 GA + PHP + PHP Extensions Windows XP - Wo
fievet.p Feb 11, 2007 9:35 AM (in response to fievet.p)I wrote this tutorial as the beginning of a solution...
This tutorial was made and not intensively tested on a windows XP2 "blank" test machine... I did'nt recommend this on a prod server !!!
The extensions tested all worked fine, I've installed phpmyadmin as a war !!!!
You should :
. Try to search for a duplicate php.ini on your classpath or %PATH% ?!
(I encountered this error when I made the tests, thats why I recommend
to put this file in the %windir%)
. Try to follow the tutorial on a "blank" station and see what was wrong
with yours with the version of php linked by my site.
NOTE :
It seems that the c:/php5 dir is hardcoded in a file that I don't have time to search and decompile to achieve more versatily with this installation.
Some hints ?
fievet.p
http://www.fievet.biz/jbossweb-install -
7. Re: JBossWeb 1.0.1 GA 64bit and PHP 32bit
fievet.p Feb 11, 2007 9:40 AM (in response to fievet.p)"unique" wrote:
Hello, this was great tutorial, it is much more usefull for windows users than jboss web server user gude...
I installed jbossweb-1.0.1.GA 64bit edition and it seems to be working fine.
Then I downloaded php5servlet-windows-i586-SP1.zip and exracted it into C:\php5. When I setup all the things and tryed to run the php file it throws an exception:exception javax.servlet.ServletException: Servlet.init() for servlet php threw exception org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:811) org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:632) org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) java.lang.Thread.run(Thread.java:595) root cause java.lang.UnsatisfiedLinkError: C:\php5\bin\php5servlet.dll: %1 is not a valid Win32 application, no libphp5servlet in java.library.path(C:\Program Files\Java\jdk1.5.0_09\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\jbossweb-1.0.1.GA\bin\\native;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\ZipGenius 6\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files (x86)\Mpich\lib;c:\php5\bin;c:\php5\bin\ext) org.apache.catalina.servlets.php.Library.<init>(Library.java:64) org.apache.catalina.servlets.php.Library.initialize(Library.java:103) org.apache.catalina.servlets.php.Handler.init(Handler.java:104) org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:811) org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:632) org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) java.lang.Thread.run(Thread.java:595)
In also tryed to change PHP_HOME env variable from c:/php5 to c:\php5
Is that because I mixed 64bit version of web server with 32bit phpservlet or I made something else wrong?
You're certainly right ...
But is there any 64 bits php version ?
Sorry don't have time to try ...
fievet.p http://www.fievet.biz/jbossweb-install -
8. Re: JBossWeb 1.0.1 GA + PHP + PHP Extensions Windows XP - Wo
mtricomi Apr 27, 2007 5:55 PM (in response to fievet.p)Very helpful. I was able to install in jbossws-tomcat55.sar no problem. I was able to get the servlet jar for php from here :). And the lines of code for web.xml and server.xml . Thanks
-
9. Re: JBossWeb 1.0.1 GA + PHP + PHP Extensions Windows XP - Wo
jedors May 2, 2007 4:48 AM (in response to fievet.p)Hi Unique,
I have the same problem with my 64 bits server ...
did you solve the problem ?
java.lang.UnsatisfiedLinkError: C:\php5\bin\php5servlet.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform, no lib
hp5servlet in java.library.path(D:\SERVICES\jdk1.6.0_01\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;....
thx