Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37674 - php.ini (php-4.3.4-r2) sets java.home = c:\jdk
Summary: php.ini (php-4.3.4-r2) sets java.home = c:\jdk
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-09 04:02 UTC by Laurence Tonke
Modified: 2004-01-09 12:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.