Bug #17035: Cannot run PHP using sapi/servlet interface with Tomcat 4.0.4b2
| From: | donatas dot ciuksys at maf dot vu dot lt | Date: | Mon, 06 May 2002 10:37:53 +0000 |
| Subject: | Bug #17035: Cannot run PHP using sapi/servlet interface with Tomcat 4.0.4b2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7014@lists.php.net to get a copy of this message | ||
From: donatas.ciuksys@maf.vu.lt
Operating system: WinXP
PHP version: 4.2.0
PHP Bug Type: Java related
Bug description: Cannot run PHP using sapi/servlet interface with Tomcat 4.0.4b2
I'm trying to run PHP 4.2.0 using sapi/servlet interface on Tomcat 4.0.4b2
(WinXP Pro OS) with jdk1.3.1_03.
My php.ini setting (in c:\windows directory):
extension=php_java.dll
[Java]
java.class.path = "C:\php-4.2.0\extensions\php_java.jar;"
java.home = "C:\java\jdk1.3.1_03\jre\bin"
java.library = "C:\java\jdk1.3.1_03\jre\bin\classic\jvm.dll"
java.library.path =
"C:\php-4.2.0;C:\php-4.2.0\extensions;C:\php-4.2.0\sapi;"
When I try to run date.php, I get three warning messages:
1. Function registration failed - duplicate name -
java_last_exception_get
2. Function registration failed - duplicate name -
java_last_exception_clear
3. java: Unable to register functions, unable to load.
When I press refresh button in IE, tomcat crashes.
Any help would be appreciated.
Donatas
--
Edit bug report at http://bugs.php.net/?id=17035&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17035&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17035&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17035&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17035&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17035&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17035&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17035&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17035&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17035&r=globals