Page MenuHomePhabricator

If LocalSettings.php unreadable should give error not fatal out
Closed, ResolvedPublic


Since we require users to copy over LocalSettings.php, I imagine its somewhat common for people to copy it over using their user credentials instead of apache's, and have the file unreadable by apache. When this happen, php fatals and displays blank page. We should instead check the file is readable, and if the file exists but is not readable display some sort of helpful error.

Version: 1.23.0
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:53 AM
bzimport set Reference to bz61094.
Bawolff created this task.Feb 8 2014, 6:25 PM

Change 117022 had a related patch set uploaded by Umherirrender:
LocalSettings.php must be readable by the server

Change 117022 merged by jenkins-bot:
LocalSettings.php must be readable by the server

successfully merged

  • Bug 29610 has been marked as a duplicate of this bug. ***