Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache + mod_php and MySQL on different servers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tholu
n00b
n00b


Joined: 02 Aug 2003
Posts: 8

PostPosted: Sun Jan 30, 2005 4:43 pm    Post subject: Apache + mod_php and MySQL on different servers Reply with quote

Hi,

I wonder if you have any tips for me on how to emerge mod_php with mysql support, but without emerging the MySQL database in itself. I've set up my network so that the web server and database are on two different servers.

Right now, if I remove mysql in my USE variable, mod_php gets compiled without mysql support (at least that's what phpinfo() says in the configure statement after compiling). If I have mysql in my USE and do a 'emerge -p mod_php', emerge wants to build the mysql package as well, and I don't want to have a database on that machine at all. I guess a workaround would be to emerge mysql and never start it, but I'd rather not go that way.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sun Jan 30, 2005 4:55 pm    Post subject: Reply with quote

You can --inject it; that satisfies the USE condition.
But ISTR that its use is deprecated.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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