<p data-path-to-node="4"><span class="citation-9">You are correct that a </span><em><span class="citation-9">single</span></em><span class="citation-9 citation-end-9"> PHP script runs one instruction at a time (it is single-threaded).<source-footnote ng-version="0.0.0-PLACEHOLDER" _nghost-ng-c3598499094=""><sup _ngcontent-ng-c3598499094="" class="superscript" data-turn-source-index="1"><!----></sup></source-footnote></span> However, your <strong>Web Server</strong> (like Apache or Nginx) is not.<sources-carousel-inline ng-version="0.0.0-PLACEHOLDER" _nghost-ng-c3209871512=""><!----><source-inline-chips _ngcontent-ng-c3209871512="" _nghost-ng-c2631690858="" class="ng-star-inserted"><source-inline-chip _ngcontent-ng-c2631690858="" _nghost-ng-c1127455517="" class="ng-star-inserted"></source-inline-chip></source-inline-chips></sources-carousel-inline></p><p data-path-to-node="5">Think of it like a supermarket:</p><ul data-path-to-node="6"><li><p data-path-to-node="6,0,0"><strong>PHP is the Cashier:</strong> A single cashier can only scan one item at a time. They cannot scan two customers' carts simultaneously.</p></li><li><p data-path-to-node="6,1,0"><strong>The Web Server is the Store Manager:</strong> The manager opens <strong>many lanes</strong> (processes) at once.</p></li></ul><p data-path-to-node="7"><span class="citation-8">If 10 people visit your forum at the same time, the server assigns </span><strong><span class="citation-8">10 different PHP processes</span></strong><span class="citation-8 citation-end-8"> to handle them simultaneously.<source-footnote ng-version="0.0.0-PLACEHOLDER" _nghost-ng-c3598499094=""><sup _ngcontent-ng-c3598499094="" class="superscript" data-turn-source-index="2"><!----></sup></source-footnote></span> They are all running at the exact same millisecond.</p><p data-path-to-node="13"><span class="citation-6">By default, SQLite uses a "Rollback Journal" which is very strict (if one person writes, </span><em><span class="citation-6">nobody</span></em><span class="citation-6 citation-end-6"> else can read or write).<source-footnote ng-version="0.0.0-PLACEHOLDER" _nghost-ng-c3598499094=""><sup _ngcontent-ng-c3598499094="" class="superscript" data-turn-source-index="4"><!----></sup></source-footnote></span> You should switch to <strong>WAL (Write-Ahead Logging) Mode</strong>.</p><!----><!----><!----><!----><!----><ul data-path-to-node="14"><li><p data-path-to-node="14,0,0"><strong>Default Mode:</strong> 1 Writer <strong>OR</strong> Many Readers. (Writer blocks everyone).</p></li><li><p data-path-to-node="14,1,0"><strong>WAL Mode:</strong> 1 Writer <strong>AND</strong> Many Readers. (Writer only blocks other writers).</p></li></ul><p data-path-to-node="15">This allows your forum to be readable by hundreds of people even while someone else is posting a comment.</p>