5

Connection failed to open the DB connection: could not find driver

view full story
linux-howto

http://askubuntu.com – I am newbie for ubuntu and I was trying to run lamp. I installed mysql, and pdo extensions. when i show config(with phpinfo()): Configuration File (php.ini) Path: /etc/php5/apache2 Also I see mysql and pdo_mysql tables in config table. locate pdo_mysql.so giving: /usr/lib/php5/20090626+lfs/pdo_mysql.so locate mysql.so giving : /usr/lib/perl5/auto/DBD/mysql/mysql.so /usr/lib/php5/20090626+lfs/mysql.so /usr/lib/php5/20090626+lfs/pdo_mysql.so /usr/lib/pyshared/python2.7/_mysql.so /usr/lib/python2.7/dist-packages/_mysql.so in php ini file I enabled like that: extension=/usr/lib/php5/20090 (HowTos)