Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why Java for PHP?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Wed Aug 14, 2002 1:03 am    Post subject: Why Java for PHP? Reply with quote

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
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Aug 14, 2002 1:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Wed Aug 14, 2002 1:28 am    Post subject: Reply with quote

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
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Aug 14, 2002 9:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum