#4384 [Com]: Java ext
| From: | books at medianet dot pl | Date: | Sat, 26 Oct 2002 09:39:26 +0000 |
| Subject: | #4384 [Com]: Java ext | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23367@lists.php.net to get a copy of this message | ||
ID: 4384
Comment by: books@medianet.pl
Reported By: pauldy@timespace.org
Status: Closed
Bug Type: Other
Operating System: RedHat 6.2
PHP Version: 4.0 Release Candidate 2
New Comment:
Just be careful to update php.ini after you recompile PHP adding java
support, including exact directory name for libphp_java.so
Previous Comments:
------------------------------------------------------------------------
[2000-08-18 13:09:10] waldschrott@php.net
Closed due to missing user feedback.
------------------------------------------------------------------------
[2000-07-24 18:38:53] derick@php.net
What's your problem?
------------------------------------------------------------------------
[2000-05-10 16:54:42] pauldy@timespace.org
The Operation system used is stock redhat 6.2 the compile flags were
./configure --with-mysql --enable-inline-optimization --with-mysql
--with-ldap=/usr/local --disable-debug --enable-track-vars
--with-apxs=/usr/sbin/apxs --disable-short-tags --prefix=/usr
--with-config-file-path=/etc/httpd --enable-safe-mode
--with-exec-dir=/usr/bin --with-zlib --with-java=/usr/local/java
the php.ini file only contains the following changes
[Zend]
zend_optimizer.optimization_level=7
zend_extension="/usr/local/Zend/lib/ZendOptimizer.so"
[java]
java.class.path=/usr/lib/php_java.jar
;java.library=/usr/local/java/lib/linux/native_threads/libjitc.so:/usr/local/java/lib/linux/native_threads/libjava.so
java.library=libphp_java.so
java.library.path=/usr/lib/php_java.jar:/usr/local/java/lib/linux/native_threads:/usr/local/java/lib/
extension_dir=/usr/lib/php/modules
extension=libphp_java.so
And before using RC2 I did ; out the Zend Optimizer lines.
------------------------------------------------------------------------
[2000-05-10 16:49:33] pauldy@timespace.org
after installing with java support the libphp_java.so file is placed in
the /usr/lib/php/extensions/debug-non-zts-20000401 or
nodebug-non-zts-20000401 directory. The previous RC1 placed the file
in the directory /usr/lib/php/modules where it is loaded as expected.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=4384&edit=1