Trying to write a test web page using php and sqlite. I have a Mac with OS X
10.6.1 (Snow Leopard). Maybe this is a php problem, Im not sure.

I have enabled web sharing, so I guess Apache is up and running. I have
un-commented out the line in /etc/apache2/httpd.conf which reads

  LoadModule php5_module        libexec/apache2/libphp5.so

I have written a program called test.php and when I bring it up in my
browser, I get a message: "cannot find driver". I think its having a problem
with the first line of the php program:

try {
  $dbHandle = new PDO('/Users/mymachine/sqlite:'."$user_db");
}
catch( PDOException $exception ){
  die($exception->getMessage());
}

I'm really new at this so Im hoping the problem is obvious. Thanks for any
help.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to