From SME Server
Jump to navigationJump to search


Mahara is an open source e-portfolio system with a flexible display framework. Mahara, meaning 'think' or 'thought' in Te Reo Māori, is user centred environment with a permissions framework that enables different views of an e-portfolio to be easily managed. Mahara also features a weblog, resume builder and social networking system, connecting users and creating online learner communities.


Mahara requires SME 8 (bets 5)


Set up mysql user and database

# mysql 
> create database mahara character set UTF8;
> grant all on mahara.* to 'mahara'@'localhost' identified by 'jdnv77fd';
> exit;


Install Source

download latest tar.gz

make ibay mahara

make ibay 'writeable' by trusted group, 'read' all

enable php

install source in html directory

Edit config file

# cp config-dist.php config.php
# edit config.php

$cfg->dbtype   = 'mysql5;  
$cfg->dbhost   = 'localhost';  
$cfg->dbport   = null;  
$cfg->dbname   = 'mahara';  
$cfg->dbuser   = 'mahara';  
$cfg->dbpass   = 'jdnv77fd';   

$cfg->wwwroot = '';  
$cfg->httpswwwroot = '';  
$cfg->dataroot = '/home/e-smith/files/ibays/mahara/files/';


Open /mahara and finish the install by answering the prompts

php warning

Bug 5843
Call stack (most recent first): 

    * log_message("You have dangerous PHP settings, magic_quotes_gpc ...", 1, true, true) at /home/e-smith/files/ibays/mahara/html/lib/errors.php:123
    * log_environ("You have dangerous PHP settings, magic_quotes_gpc ...") at /home/e-smith/files/ibays/mahara/html/lib/mahara.php:97
    * ensure_sanity() at /home/e-smith/files/ibays/mahara/html/init.php:80
    * require("/home/e-smith/files/ibays/mahara/html/init.php") at /home/e-smith/files/ibays/mahara/html/admin/upgrade.php:32