X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=install%2Findex.php;h=778899163a3dbf0206c4323d5c5efd45b76d0377;hb=a60be936894309bbc4d7cea10cf3b726844bc803;hp=f6c2740a358c7d5c4c3fdf2b0c9efb5e50f8fd34;hpb=c75c1bd5f5a88c4b0848802cfed3c7db07f15819;p=civicrm-core.git diff --git a/install/index.php b/install/index.php index f6c2740a35..778899163a 100644 --- a/install/index.php +++ b/install/index.php @@ -570,7 +570,7 @@ class InstallRequirements { $host = implode(':', $hostParts); } else { - $port = ''; + $port = NULL; } $conn = @mysqli_connect($host, $username, $password, $database, $port); return $conn; @@ -705,6 +705,13 @@ class InstallRequirements { ts("MySQL support not included in PHP."), )); + // Check for XML support + $this->requireFunction('simplexml_load_file', array( + ts("PHP Configuration"), + ts("SimpleXML support"), + ts("SimpleXML support not included in PHP."), + )); + // Check for JSON support $this->requireFunction('json_encode', array( ts("PHP Configuration"),