I was trying to install Moodle LMS using ddev.
-- The problem is that Moodle requires mariadb 10.6, whilst ddev only supports mariadb 10.4.
Steps tried:
- change the .ddev/config.ph docker file from 10.4 to 10.6 <-- didn't work.
- when given the install page in Moodle - it complaining about Moodle not meetings its requirements.
- DDEV has instruction on their site - for such an install. But, I suspect its out o date.
- I tried deleting the docker image mariadb10.4, hoping it would upgrade - no luck.
- the ddev exec below: will not work at all.
- should I try podman instead?
any ideas or suggestions.
thank Carlo
ddev config --composer-root=public --create-docroot --docroot=public --webserver-type=apache-fpm
ddev start
ddev composer create moodle/moodle -y
ddev exec 'php public/admin/cli/install.php --non-interactive --agree-license --wwwroot=$DDEV_PRIMARY_URL --dbtype=mariadb --dbhost=db --dbname=db --dbuser=db --dbpass=db --fullname="DDEV Moodle Demo" --shortname=Demo --adminpass=password'
ddev launch /login
I tried everything I could think of.