You are not logged in.
Pages: 1
I'e made a few PHP scripts which I run from the command line. Only, some of these scripts use PDO, which, for some reason, doesn't get installed in Arch Linux when I install php-sqlite, and doesn't seem to have a seperate package either. I've tried installing php_pdo-dblib from the AUR, but that doesn't seem to have made any difference.
[robin@robinArchLinux µBot]$ php index.php
PHP Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in /media/Data/Documenten/PHP/µBot/index.php:6
Stack trace:
#0 /media/Data/Documenten/PHP/µBot/index.php(6): PDO->__construct('sqlite:./databa...')
#1 {main}
thrown in /media/Data/Documenten/PHP/µBot/index.php on line 6
So the logical question is, how can I get this working?
Last edited by RobinJ (2012-01-06 13:56:51)
Offline
Have you uncommented this line in your /etc/php/php.ini?
extension=pdo_sqlite.so
Offline
... What?
I thought the ; was supposed to be there :-$ I didn't know ; was being used for comments... Sorry :-$
And thanks
Last edited by RobinJ (2012-01-06 12:42:21)
Offline
I take it the issue is solved then.
Please edit the first post and add [Solved] in front of the thread title to help others who may have the same problem.
Offline
Pages: 1