aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall/htconfig.sample.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/install/htconfig.sample.php b/install/htconfig.sample.php
index 14ae23676..33258cf41 100755
--- a/install/htconfig.sample.php
+++ b/install/htconfig.sample.php
@@ -71,3 +71,14 @@ $a->config['system']['php_path'] = 'php';
$a->config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL;
+
+// PHP error logging setup
+// Before doing this ensure that the webserver has permission
+// to create and write to php.out in the top level Red directory,
+// or change the name (below) to a file/path where this is allowed.
+
+// Uncomment the following 4 lines to turn on PHP error logging.
+//error_reporting(E_ERROR | E_WARNING | E_PARSE );
+//ini_set('error_log','php.out');
+//ini_set('log_errors','1');
+//ini_set('display_errors', '0');