Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46758

Re: v2.5.6 install issue

$
0
0
by Ed Snowdon (no, not THAT one).  

Part B


So now I have two cPanel accounts/unregistered domains - fakedomain.abc and moodle256.biz - both of which were created exactly the same way within WHM/cPanel, and there are two differences between them:

a) Moodle is not installed in fakedomain.abc, whereas the Moodle files are extracted in moodle256.biz (with the addition of moodledata folder) and with the Moodle recommended permissions set.

b)http://209.217.xxx.xxx/~fakedomain/training/ launches index.php correctly, whereas http://209.217.xxx.xxx/~moodle256/training/ results in an Internal Server Error UID of script"/home/moodle256/public_html/training/index.php" is smaller than min_uid even though the index.php file is present in the training folder.

This is clearly a permissions/ownership issue, but I'm not sure what to do to fix this (OpenVMS guy and all that).

Could it be as simple as:

a) when I was executing all the terminal commands I was logged in as root, rather than logged in as the moodle256 admin user, even though root is capable of granting permissions/ownership to anyone for anything?

or

b) in the Installing Moodle document, in the "Secure the Moodle files" section it states:

If you want to use the built-in add-on installer you need to make the directory writable by web server user. It is strongly recommended to
use ACL when your server supports it, for example if your Apache server uses account www-data:

# chmod -R +a "www-data allow read,delete,write,append,file_inherit,directory_inherit" /path/to/moodle

which then leads me to the Linux/Moodle newbie question, "How do I know if I want to use the built-in add-on installer, or should I just execute this command anyway?" -- as I did NOT execute the chmod -R +a ..etc.... command yet because it is unclear to me whether or not I really need to.

 


Viewing all articles
Browse latest Browse all 46758

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>