PDO mysql drivers

TeraSoft

Verified User
Joined
Mar 21, 2007
Messages
29
Well I most admit, that I am a newbie on this.

I search google and this forum for an answer and cloud not find one that I understood.

I found this: http://us2.php.net/pdo
But I dont have bin dir in the PHP dir. At least I dont think I have :D

There is no mention of pdo in my php.ini but it is enabled and the sqlite drivers is present.
PDO support enabled
PDO drivers sqlite2, sqlite

How do I get the mysql driver supported/installed?
 
Try adding this to configure.php in /usr/local/directadmin/customapache:
Code:
--enable-pdo=shared \
--with-pdo-mysql=shared,/usr/local/mysql \
--with-sqlite=shared \
--with-pdo-sqlite=shared \
 
after spending hours trying this, if it doesnt work try

pecl install pdo_mysql

then restart apache

ps smtalk I finally got it running - sorry for contacting you so late last nite :)
 
Back
Top