i have this server in php that worked perfectly until a few days ago.
<?php
ini_set(‘track_errors’, ’1′) ;
$dbFile = realpath('./').'/notificheDB';
echo "work";
$dbLink=sqlite_open($dbFile, 0666, $sqliteError);
echo "omg";
if(!is_resource($dbLink)){
$sqliteError= "Si è verificato un errore al momento dell’apertura/creazione del database <br>
";
$sqliteError.= '<strong>'.$php_errormsg.'</strong>' ;
$php_errormsg="" ;
die($sqliteError) ;
}
now when i use the instruction $dbLink=sqlite_open($dbFile, 0666, $sqliteError);
the server crash but it responds with page 200.
I put the two echo to be sure of the point where it stops working, in this case the response page print to video only "work" and never "omg".
I entered manually in php.ini sqlite
extension=pdo_sqlite.so
extension=sqlite.so
nothing the same, you have any suggestions?
thx