aboutsummaryrefslogtreecommitdiffstats
path: root/install/htconfig.sample.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-05 19:45:02 -0800
committerfriendica <info@friendica.com>2013-11-05 19:45:02 -0800
commit310ccfda997449dcc08c0d37d194c12b6f929c6d (patch)
tree45b43bba4803592ac03007a88f7628215cafae43 /install/htconfig.sample.php
parent5c71ccba987f1d83482025508b356a22dcf5151c (diff)
downloadvolse-hubzilla-310ccfda997449dcc08c0d37d194c12b6f929c6d.tar.gz
volse-hubzilla-310ccfda997449dcc08c0d37d194c12b6f929c6d.tar.bz2
volse-hubzilla-310ccfda997449dcc08c0d37d194c12b6f929c6d.zip
INSTALL for dummies - step 1: ensure that we throw an ugly error message in their face
if there's an ugly error when we first try to install. DON'T white screen until after they've got it running.
Diffstat (limited to 'install/htconfig.sample.php')
-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');