Thursday, May 13, 2010

installation for Database connection pooling with LAMP

Easy step to install modules/packages for database pooling on Apache/PHP/Linux with real times errors and troubleshooting:

Requirements:

mod_dbi_pool
libdbi
libdbi-drivers

Installation Steps:

Download packages from http://libdbi.sourceforge.net/download.html
Download mod_dbi_pool from http://sisyphus.ru/en/srpm/Sisyphus/apache2-mod_dbi_pool/get

Install and configure libdbi
Install and configure libdbi-drivers
Install and configure mod_dbi_pool with apache


error

Version 1.1, March 2000

Copyright (C) 2000 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.


0. PREAMBLE

make[3]: *** [dbd_mysql/c168.html] Error 1
make[3]: Leaving directory `/opt/libdbi-drivers-0.8.3-1/drivers/mysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/libdbi-drivers-0.8.3-1/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/libdbi-drivers-0.8.3-1'
make: *** [all] Error 2


error2:

[emerg] [mod_dbi_pool.c] - Initlialization of libdbi with default driver directory failed Configuration Failed

Followers