linux - PHP CLI - PDO no-root user don't have perm -


i have problem on debian php-cli , pdo extension. have tips/advice?

my user:

$ php my_script.php   fatal error: class 'pdo' not found in ...  $ php --ri pdo extension 'pdo' not present. 

but, root okey , script works:

# php --ri pdo  pdo  pdo support => enabled pdo drivers => mysql, pgsql # php my_script.php done! 


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -