https://bugzilla.wikimedia.org/show_bug.cgi?id=47564
--- Comment #3 from PleaseStand <pleasest...@live.com> --- (In reply to comment #2) > In practice, this depends on bug 45822 doesn't it? Or how will the installer > know what extensions are needed? Oh, you propose an after the fact solution; > so > is it alternative to bug 45822? No, this is completely different. Bug 45822 is for expanding the list of suggested PHP extensions in composer.json, a file used by the Composer[1] dependency manager. This bug is for fixing the MediaWiki installer, which currently uses neither Composer nor its associated configuration files. [1]: http://getcomposer.org/ Hardcoded checks for certain PHP extensions currently exist in includes/installer/Installer.php. Because certain portions of MediaWiki depend on some of these extensions (and the installer reuses those portions), before the user even gets to select his or her language, a PHP fatal error occurs. If display_errors is off, the user will see not an error message but a blank page. The most common case occurs when the DOMDocument class, which LocalisationCache::loadPluralFile() uses to load the CLDR plural rules, is missing. This is because Linux distributors such as Red Hat tend to package the DOM extension separately from the PHP binary itself. The unmerged patch for bug 42205 would add a file containing the same information in PHP serialize() format, which would be readable regardless of the installed set of PHP extensions. This would remove the installer's dependency on the DOM extension. Removing the installer's dependency on the XML extension would be trivial, simply by skipping envCheckBrokenXML when the XML extension is missing. However, it would still be possible for someone who has compiled PHP himself (e.g. with ./configure --disable-all) to be missing the session extension. It would be nice to show an error message even in those cases. Apparently, missing ctype_* functions currently aren't a problem, though a check for hash() ought to be added to the installer. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l