Hi,

It looks like the PDO extension was not installed/enabled. This is a 
little unusual since "PDO ships with PHP 5.1", according to the PHP Manual.

I suggest that you install and enable the PDO extension. Read:
http://www.php.net/manual/en/ref.pdo.php
http://www.php.net/manual/en/ref.pdo-sqlite.php

Regards,
Eugene Wee

Aharon (Rony) Shapira wrote:
> I tried using PDO as follows :
> // create a SQLite3 database file with PDO and return a database handle
> 
> try{
> 
> $dbHandle = new 
> PDO('sqlite:'.$_SERVER['DOCUMENT_ROOT'].'/../pdoTutorial.sqlite3');
> 
> }catch( PDOException $exception ){
> 
> die($exception->getMessage());
> 
> }
> 
> 
>  but got the following error message:
> 
> Fatal error: Class 'PDO' not found in /home/zbfckla/public_html/Ocx.php on 
> line 14
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to