Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP 5, Tomcat 5 - does anyone know how to make it work!!!

Status
Not open for further replies.

WB786

MIS
Mar 14, 2002
610
I have Win2k3 with the latest php and jakarta tomcat installed. My problem is that test.php (<?php phpinfo(); ?>) will not work. I have visted many forms - matter of fact spent all day on this issue with no solution in sight - keep on getting this error:

java.lang.UnsatisfiedLinkError: no php5srvlt in java.library.path
java.lang.ClassLoader.loadLibrary(Unknown Source)
java.lang.Runtime.loadLibrary0(Unknown Source)
java.lang.System.loadLibrary(Unknown Source)
net.php.reflect.loadLibrary(reflect.java:34)
net.php.reflect.<clinit>(reflect.java:29)
net.php.servlet.init(servlet.java:157)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)

Any ideas before I started doing the pages in ASP.

Thanks,


:)WB
 
the problem is identified in the first line. you need to give an absolute path (or relative if you must) to the php servlet in the java.library.path.

 
ok problem solved - just end up figuring out how to use IIS 6.0 with PHP 5.

But, jpadie back to your comments - where would you go to change this - I still would like php to work with java and tomcat.

Thanks,

:)WB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top