PHP5 & JBOSS
| From: | david joffrin | Date: | Mon, 14 Mar 2005 00:31:51 +0000 |
| Subject: | PHP5 & JBOSS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-210637@lists.php.net to get a copy of this message | ||
Hi,
I searched on the net, found a lot of articles about it... followed all the various one by one, tried a lot, but I am getting the famous error: java.lang.UnsatisfiedLinkError: no php5servlet.dll in java.library.path.
Here is the steps I folllowed:
1) Get PHP5 PECL and copy to jbossweb-tomcat50.sar the phpsrvlt jar file. I modified the content of reflect.properties and servlet.porperties to refer to the php5servlet.dll library.
2) Copied to windows/system32 the php5servlet.dll and php5ts.dll.
3) web.xml contains the following line:
<servlet>
<servlet-name>php</servlet-name>
<servlet-class>net.php.servlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>php</servlet-name>
<url-pattern>*.php</url-pattern>
</servlet-mapping>
I modified my application to display the java.librara.path which lists (of course) c:/windows/system32 path.
However, I am having the message just listed above.
Any clue?
Note that I have tried with the dll extension in the both property files, but still the same.
Thanks in advance.
David.