note 18031 deleted from ref.java by didou
| From: | didou@php.net | Date: | Sun, 07 Dec 2003 02:35:30 +0000 |
| Subject: | note 18031 deleted from ref.java by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-61538@lists.php.net to get a copy of this message | ||
Note Submitter: ywliu@_spam_me_not_.hotmail.com
----
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