User:Ranjithraj/installers/moodle
< User:Ranjithraj | installers
Jump to navigation
Jump to search
Revision as of 01:52, 2 June 2021 by Ranjithraj (talk | contribs) (Created installation process for Moodle via composer)
Install via Composer
- Create a project
sudo composer create-project moodle/moodle:^'version.number' moodle-demo
- Once installed, go to moodle root directory
composer update --with-all-dependencies
Possible errors
- PHP Dependencies
sudo apt install php-zip-php-intl
- Parent directory (/var/www) is not writeable. Data directory (/var/www/moodledata) cannot be created by the installer
- Manually create 'moodledata' folder
mkdir /var/www/moodledata chmod 0777 /var/www/moodledata
- Give write permission to '/var/www' folder temporarily
chmod 0777 /var/www/ and then reset it to 755