(From bug 47356 comment #6)
It would be nice to have a checker which checks all required
packages/extensions/functions. This checker should run on installation and on
the fatal error exception error page.
If a PHP extension such as XML or JSON is missing, the web installer will
fail with a PHP Fatal error even before the current environmental checks
happen. This isn't very user-friendly.
Perhaps the web installer could check for extensions that MediaWiki
unconditionally requires, and show an ugly, non-localized (yet useful)
error page if an extension is missing. Command-line scripts could also
make the same checks.
Perhaps the web installer checks could just run as part of the request
startup or shutdown sequence, even if only when a fatal error or
uncaught exception occurs.
http://stackoverflow.com/questions/277224/how-do-i-catch-a-php-fatal-error
Version: 1.22.0
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=42205
https://bugzilla.wikimedia.org/show_bug.cgi?id=45822
https://bugzilla.wikimedia.org/show_bug.cgi?id=54774