summaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'install.php')
-rw-r--r--install.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/install.php b/install.php
index 437a71123..3d486d911 100644
--- a/install.php
+++ b/install.php
@@ -68,6 +68,14 @@ if ($buf != "0") {
$errors .= " - Error when testing qrencode: Return code was \"$buf\".\n";
}
+// test imagemagick
+ob_start();
+passthru("convert --version 2>&1", $buf);
+ob_end_clean();
+if ($buf != "0") {
+ $errors .= " - Error when testing imagemagick (convert): Return code was \"$buf\".\n";
+}
+
// test PHP modules
$mod_groups = array(
"thumbnail generation" => array("gd"),