Page MenuHomePhabricator

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

Description

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

Details

Reference
bz61094

Event Timeline

bzimport raised the priority of this task from to Normal.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

https://gerrit.wikimedia.org/r/117022

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

https://gerrit.wikimedia.org/r/117022

successfully merged

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