Translations:Manual:$wgReadOnlyFile/5/en

The file must be writable by the web server for locking the database when using the special pages "Special:LockDB" (locking) and "Special:UnlockDB" (unlocking).