aboutsummaryrefslogtreecommitdiff
path: root/system.php
diff options
context:
space:
mode:
Diffstat (limited to 'system.php')
-rw-r--r--system.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/system.php b/system.php
index 833722db8..24295c715 100644
--- a/system.php
+++ b/system.php
@@ -39,6 +39,10 @@
return $size;
}
+ $disablefunc = explode(',', ini_get('disable_functions'));
+ $exec_avail = "Disabled";
+ if (is_callable('exec') && !in_array('exec',$disablefunc))
+ $exec_avail = "Enabled";
ob_start();
@@ -57,11 +61,16 @@
<td>Elgg requires the GD extension to be loaded</td>
</tr>
<tr>
- <td>ImageMagick</td>
+ <td>ImageMagick PHP</td>
<td><?php echo (extension_loaded('imagick')) ? 'Enabled' : 'Disabled'; ?></td>
<td></td>
</tr>
<tr>
+ <td>exec()</td>
+ <td><?php echo $exec_avail; ?></td>
+ <td>Required for ImageMagick command line</td>
+ </tr>
+ <tr>
<td>Memory Available to PHP</td>
<td><?php echo ini_get('memory_limit'); ?>B</td>
<td>Change memory_limit to increase</td>