My SQLite3 file is in /tmp and I have been accessing it with nginx and php-fpm since last year. Since I updated my system recently from e. g. PHP 7.0->7.1 I can not access the datebase file in /tmp. If it is in current dir it works like a charm. I have not set "open_basedir". If I open the file in /tmp with
$db = new SQLite3('/tmp/temperatures.sqlite');
I get no error but the database is empty e. g. sqlite_master returns nothing and SELECTs on my tables return "no such table".