Forums | Mahara Community
Support
/
Directory not writable - server of Mahara issue?
05 April 2014, 0:16
I've installed Mahara but it won't configure. I've pasted the error message I'm getting below. IDoes anyone know if the solution to this an adjustment that needs to be made within Mahara or is it a server issue?
Thanks,
Ed
Mahara: Site unavailable
(Your server has the php open_basedir restriction enabled. Mahara can only open files within the following path(s): /var/www/vhosts/s516580282.websitehome.co.uk/:/tmp/.)
05 April 2014, 1:09
Hello, Have had a look in the forums on Mahara.org. Because other people with the same kind of problem have already asked the same kind of question.
Usually the answer you will find is that you may have a problem with the owneship and authorisation rights on your folder.
Two things then :
1) It would be better to move your datafolder to another place. Leaving it inside the root folder of your website is very important security issue.
2) Change the ownership of this folder so your webservice can use it. If your webservice is Apache, then the username is www-data and the group is the same. So do :
chown -R www-data:www-data /path/to/your/maharadata/folder
chmod -R 775 /path/to/your/maharadata/folder
This has already solved folder access problems in the past and maybe yours will be solved the same way. If not, come back here for more specific help.
Hope this helps
Regards,
-dajan