View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Wed Aug 14, 2002 1:03 am Post subject: Why Java for PHP? |
|
|
Yes, why does mod_php require a Java installation? Seems like a little bit of overkill for a "default" installation. |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Aug 14, 2002 1:26 am Post subject: |
|
|
It depends on your USE variable setting. It has "java" in there by default. Set "USE=-java" in your /etc/make.conf file or do "USE=-java emerge..." to exclude java in the merge. |
|
Back to top |
|
|
Dolio l33t
Joined: 17 Jun 2002 Posts: 650
|
Posted: Wed Aug 14, 2002 1:28 am Post subject: |
|
|
Do you have java as one of your USE variables?
If so, mod_php is set to require virtual/jdk
add USE="-java" if you don't want that. _________________ They don't have a good bathroom to do coke in. |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Wed Aug 14, 2002 9:10 pm Post subject: |
|
|
To answer your question:
PHP does support Java, you can instantiate compiled java classes in a php script and stuff like that. Which is why php would need to have java installed if you have java enabled in your USE flags. If you don't plan on doing this, then (as the others have said), throw a "-java" in your USE flags and re-emerge php/mod_php. |
|
Back to top |
|
|
|