note 18031 added to ref.java
| From: | ywliu at _spam_me_not_ dot hotmail dot com | Date: | Tue, 08 Jan 2002 08:41:09 +0000 |
| Subject: | note 18031 added to ref.java | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-24524@lists.php.net to get a copy of this message | ||
Hi all,
After struggling for some time and referring to numerous confusing articles , I finally came up with
a working Java section in php.ini, for Linux (RedHat 6.2) with Apache 1.3.22 and Sun JDK 1.3.1.
[Java]
java.class.path=/usr/local/lib/php/php_java.jar:/home/sinanet/www
java.home = /usr/java
java.library=libjava.so
extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20010901
extension=libphp_java.so
Please substitute your document root for /home/sinanet/www , and your extension_dir (it varies from
version to version ) to libphp_java.so for extension_dir here.
I have tried this configuration with php 4.0.6, 4.1.0, and 4.1.1. It works pretty well. And I think
this may save some of your time to look for a working [Java] section.
Yen-Wei Liu
--
http://www.php.net/manual/en/ref.java.php
http://master.php.net/manage/user-notes.php?action=edit+18031
http://master.php.net/manage/user-notes.php?action=delete+18031
http://master.php.net/manage/user-notes.php?action=reject+18031