Jump to content

forsythe

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by forsythe

  1. Thanks, I had inadvertently uploaded a php.ini file from another hosting service, which was apparently being read, so my extensions directory was invalid.  I delete the file, and everything came back online.  

  2. I am getting a "Fatal error: Class 'PDO' not found" where I was not previously.  I had recently moved some code around, but after restoring it I'm still getting this error.  Is there some trick to pointing to the extension properly.  The line causing the fault is:

     

    $dbh = new PDO('sqlite:'.$db_name);

     

    The php.ini in my root folder has

     

    extension = sqlite3.so
    extension = pdo_sqlite.so

     

    phpinfo has

     

    PDO drivers mysql, pgsql, sqlite

     

     

×
×
  • Create New...