title: How do you enable Write-ahead log for SQLite3 in PHP?
body: <p>It is supposed to help with concurrency by writing to a temporary file.</p>
  <p>However, when I try to do multiple writes at the same time I am met with a &quot;database is locked&quot; error. It does not create a temporary file and write later on.</p>
  <p>How can I enable write-ahead log?</p>
  <p>Or is it already enabled by default?</p>
  <p>I am using PHP 7 with NGINX</p>