https://bugzilla.wikimedia.org/show_bug.cgi?id=47564
Web browser: ---
Bug ID: 47564
Summary: Show a helpful error message if a required PHP
extension is missing
Product: MediaWiki
Version: 1.22-git
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: Installer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
(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
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l