Re: Strange Java Extension Problem

From: Date: Wed, 20 Dec 2000 21:27:56 +0000
Subject: Re: Strange Java Extension Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31321@lists.php.net to get a copy of this message
David, It sounds like your php.ini file is not being found or there might be a problem with its values being overlaid by some master settings as you described (although I believe the latter to be less likely). Is your php.ini file located in /etc/httpd as your configure line says? Can you try turning off that configuration option and see if having the php.ini file in /usr/local/lib or your local directory makes a difference? Alternatively, can you tweak some other setting (e.g. one of the highlight settings) and see if phpinfo reports your new value to see if your php.ini file is, in fact, being read correctly? As for your java specific questions, I found that on Solaris, you must have libjvm.so specified as your java.library since specifying libjava.so causes the dlsym lookup for JNI_CreateJVM to fail (that function is in libjvm.so but on other platforms the lookup works even if you specify libjava.so). I don't recall if you also need to have the java.library.path include the jdk directories (e.g. /usr/java1.2/jre/lib/sparc/) but it probably wouldn't hurt. You might also want to take a look at bug #6990 which may validate your assumption of the php.ini entries being clobbered (if the bug is valid, that is). http://bugs.php.net/bugs.php?id=6990&edit=1 Alex

« previous php.general (#31321) next »