Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37674

Summary: php.ini (php-4.3.4-r2) sets java.home = c:\jdk
Product: Gentoo Linux Reporter: Laurence Tonke <laurence.tonke>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Laurence Tonke 2004-01-09 04:02:42 UTC
I updated my php to php-4.3.4-r2. Now etc-update requests update of /etc/php/cli-php4/php.ini and /etc/php/apache2-php4/php.ini . The diff shows c:\jdk for java_home:

[..]
[Java]
-java.class.path = /usr/lib/php/extensions/no-debug-non-zts-20020429/php_java.jar
+;java.class.path = .\php_java.jar
 ;java.home = c:\jdk
-java.library = /opt/blackdown-jdk-1.4.1/jre/lib/i386/libjava.so
-java.library.path = /usr/lib/php/extensions/no-debug-non-zts-20020429
+;java.library = c:\jdk\jre\bin\hotspot\jvm.dll
+;java.library.path = .\
[..]


Reproducible: Always
Steps to Reproduce:
1. emerge -u dev-php/mod_php
2. emerge -u dev-php/php
3. etc-update
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-09 12:16:39 UTC
Why is this a problem?

note the ';' at the start of the line that shows it is commented out.

previously PHP built with java if you had it installed only and didn't properly disable it if you did USE="-java". This is now fixed so it's disabling PHP Java for lots of people (which is good as it massively increases the amount of time that PHP takes to build.)

all of the java.* php.ini settings default to NULL, so this is not a problem.