Hello,
I recently installed Ubuntu 12.04 LTS server in an old PC (pentium4, 512RAM) and I tried to install moodle 2.5 following the step by step installation Guide for Ubuntu on
//docs.moodle.org/25/en/Step-by-step_Installation_Guide_for_Ubuntu
I faced a problem at step 7 when I opened my browser and went to Database Setting - Environment Checks I received a message to edit a config.php file included the followings:
<? php //Moodle configuration file
unset ($CFG);
global $CFG;
$CFG = new stdClass ();
$CFG-> dbtype = 'mysqli';
$CFG-> dblibrary = 'native';
$CFG-> dbhost = 'localhost';
$CFG-> dbname = 'moodle';
$CFG-> dbuser = 'moodledude';
$CFG-> dbpass = '.....';
$CFG-> prefix = 'mdl_';
$CFG-> dboptions = array (
'dbpersist'=> 0,
'dbsocket'=> 0,
$CFG-> wwwroot = 'http://.../moodle';
$CFG-> dataroot = '/var/moodle';
$CFG-> admin = 'admin';
$CFG-> directorypermissions = 0777';
require_once(dirname(_FILE_) . 'lib/setup.php');
//There is no php closing taf in this file.
//it is intentional because it prevents trailing whitespace problem!
Then when I checked my IP.ADDRESS.OF.SERVER/moodle again I had a white screen problem!
In order to solved it I made some changes in config.php file
<? php //Moodle configuration file
unset ($CFG);
global $CFG;
$CFG = new stdClass ();
$CFG-> dbtype = 'mysqli';
$CFG-> dblibrary = 'native';
$CFG-> dbhost = 'localhost';
$CFG-> dbname = 'moodle';
$CFG-> dbuser = 'moodledude';
$CFG-> dbpass = '.....';
$CFG-> prefix = 'mdl_';
$CFG-> dboptions = array (
'dbpersist' => 0,
'dbsocket'=> 0,
$CFG-> wwwroot = 'http://.../moodle';
$CFG-> dataroot = '/var/moodle';
$CFG-> admin = 'admin';
$CFG-> directorypermissions = 0777';
$CFG-> dbsessions = '0';
@error_reporting(E_ALL | E_STICT);
@ini_set('display_errors', '1');
$CFG-> debug = (E_ALL | E_STICT);
$CFG-> debugdisplay = 1;
//You can specify a comma separated list of user ids that that always see
//debug messages, this overrides the debug flag in $CFG-> debug and $CFG-> debugdisplay
//for this use
$CFG-> debugusers = '2';
require_once(dirname(_FILE_) . 'lib/setup.php');
//There is no php closing taf in this file.
//it is intentional because it prevents trailing whitespace problem!
But I still face the white screen problem.
What I should do?
Thanks!!