Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apr-util, mysql USE flag [Solved]
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
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Tue Sep 09, 2008 4:06 pm    Post subject: apr-util, mysql USE flag [Solved] Reply with quote

I have a box running apache-2.0.59 and mysql-4.1.22 and I want to upgrade apache to 2.2.x. The problem I'm encoutering is that apr-util pulls in version 5 of mysql which I don't want (version 5 of mysql breaks a web app hosted on that box). I know I can remove the mysql USE flag from apr-util and that will take care of the mysql 5 dependency. I'm curious if anyone can shead some more light on what the mysql USE flag does for apr-util and what I'll lose without it.

Last edited by slithy on Wed Sep 10, 2008 4:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Sep 09, 2008 4:42 pm    Post subject: Reply with quote

Apache 2.2 includes a dbd layer. http://httpd.apache.org/docs/2.2/mod/mod_dbd.html

At some point in the future Apache could handle Mysql, Postgres, whatever connections in a connection pool while executing PHP, Perl, etc code separately in other processes, threads, or cgi. It would tend to be more useful with a threaded Apache and make your database more efficient by dropping the number of db connections open at any one time.

In any case I'm not aware of any code in the wild that actually uses the dbd stuff in the newer apr packages so it's safe to ignore.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Wed Sep 10, 2008 4:17 pm    Post subject: Reply with quote

Thanks, that sounds good!
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