summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/iniset.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index a2f43b380..82278c9f8 100644
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -34,7 +34,9 @@ $config = array(
);
foreach ($config as $optname => $optval) {
if ($optval != ini_get($optname) && @ini_set($optname, $optval) === false) {
- die("ERROR: Wrong '$optname' option value. Read REQUIREMENTS section in INSTALL file or use Roundcube Installer, please!");
+ die("ERROR: Wrong '$optname' option value and it wasn't possible to set it to required value ($optval).\n"
+ ."Check your PHP configuration (including php_admin_flag).\n"
+ ."Read REQUIREMENTS section in INSTALL file or use Roundcube Installer!");
}
}