Skip to content
Advertisement

Tag: persistence

check for existing, persistent SQLite connection in PHP

PHP supports the use of persistent SQLite connection. However, problem arises in trying to run maintenance scripts (like file backup), with such a connection opened. These scripts are likely to be run without a server restart every now and then, on periods of low traffic. The question is : How to check if there is currently an SQLite persistent connection,

Advertisement