From fb9efa664b686c540708098ed6b55305c3a6084e Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 4 Aug 2009 20:20:43 -0700 Subject: Check for the SimpleXML module, thanks to geekonek. Fixes ticket #599. --- installer/web.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'installer') diff --git a/installer/web.php b/installer/web.php index 78784539..f31c0644 100644 --- a/installer/web.php +++ b/installer/web.php @@ -104,6 +104,10 @@ function check_environment() { $errors[] = "PHP is missing the iconv extension"; } + if (!(extension_loaded("simplexml"))) { + $errors[] = "PHP is missing the SimpleXML extension"; + } + if (extension_loaded("mbstring") && (ini_get("mbstring.func_overload") & MB_OVERLOAD_STRING)) { $errors[] = "The mbstring extension is overloading PHP's native string functions. Please disable it."; } -- cgit v1.2.3