tags:

views:

437

answers:

1

When outputting phpinfo(); I can see that PDO is set to '--disable-pdo' in the Configure Command section. How can I enable this using SSH?

A: 

Try

pecl install pdo

EDIT:

If it is already installed try edit

/etc/php.ini 

Add this line

; Extension PDO
extension=pdo.so

EDIT :

if you dont have access to php ini try try this in your php aplication

if (!extension_loaded('pdo')) 
{
    dl('pdo.so');
}
streetparade