View previous topic :: View next topic |
Author |
Message |
slithy Guru


Joined: 26 Nov 2005 Posts: 321 Location: Kansas
|
Posted: Tue Sep 09, 2008 4:06 pm Post subject: apr-util, mysql USE flag [Solved] |
|
|
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 |
|
 |
kashani Advocate


Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Tue Sep 09, 2008 4:42 pm Post subject: |
|
|
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 |
|
 |
slithy Guru


Joined: 26 Nov 2005 Posts: 321 Location: Kansas
|
Posted: Wed Sep 10, 2008 4:17 pm Post subject: |
|
|
Thanks, that sounds good! |
|
Back to top |
|
 |
|
|
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
|
|