Pdo Errors When Running Via Php Cli

When i run my console application as a regular user it fails with the following message:

PHP Error[2]: include(PDO.php): failed to open stream: No such file or directory

    in file /xxxx/xxxxx/backend/framework/YiiBase.php at line 427

#0 /xxxx/xxxxx/backend/framework/YiiBase.php(427): autoload()

I’ve been doing a lot of reading and i understand that it’s doing this because it can’t find PDO. The weird thing is, as root it runs fine, no errors at all.

Any idea how i can get it to run with my user?

P.S. Adding user to suders for /usr/bin/php fixes it, but i really don’t want to do this.

P.S.S. It’s YII v1.1.15 on Ubuntu 14.04 LTS