From 310ccfda997449dcc08c0d37d194c12b6f929c6d Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 5 Nov 2013 19:45:02 -0800 Subject: 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. --- install/htconfig.sample.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'install/htconfig.sample.php') 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'); -- cgit v1.2.3