I've done it all, to no avail... Here's the key pieces of php.ini: (now in c:\windows) ; Directory in which the loadable extensions (modules) reside. extension_dir = "C:\PHP\ext" ......... extension=php_pdo_sqlite.dll <--- some users observed these had to be 'last' in the series extension=php_sqlite.dll Here's the autoexec.bat 'path' : (in c:\windows\command\edb - (it's a Win ME OS)) @ECHO OFF path=c:\windows;c:\windows\command;c:\php \hibinv.exe call \checksr.bat IF "%config%"=="QUICK" GOTO QUICK etc. etc. ..... Here's the 'test' script used on various 'sites'....the 1st (2) 'prints' 'work' - the script stops at the first call to SQLite....no other output: #!c:\php\php-cgi.exe <?php //create table print "Came to script"; <------ this works print " "; <------ this works if(file_exists("test.db")) { $weNeedToCreateTheDatabase = false; } else { $weNeedToCreateTheDatabase = true; } print ($weNeedToCreateTheDatabase); <------ this works //create or open database $db = sqlite_open("test.db") or die("failed to open/create the database"); print ($weNeedToCreateTheDatabase); <-----this doesn't happen //create table if($weNeedToCreateTheDatabase) { sqlite_query($db, "CREATE TABLE Members(FirstName,LastName)"); } //add info sqlite_query($db,"INSERT INTO Members VALUES ('Jim', 'Rockerton')"); //get info $dt = sqlite_query($db, "SELECT * FROM Members"); while ($row = sqlite_fetch_array($dt)) { echo "row: $row[FirstName] $row[LastName]<br/>"; } //close database sqlite_close($db); ?>