Tried installing moodle
Added my db information and made it all the way to a copyright notice screen, When I pressed the 'continue' button I received the dreaded 500 error:
This was the page it was trying to load:
http://edu.thewealthtransfer.co.za/admin/index.php?cache=0&lang=en&agreelicense=1
My database user and name is: "cl44-moodle" I cannot remove the '-' from the name as my host adds it automatically when I create any database. I cannot change or rename or prevent this.
Here is the error log:
30870 edu.thewealthtransfer.co.za [Sun Jan 20 13:41:50 2019] [error] [client 169.255.222.254:0] AH01215: PHP Fatal error: Can't use function return value in write context in /home/sites/thewealthtransfer.co.za/public_html/moodle/admin/index.php on line 871: /home/sites/thewealthtransfer.co.za/public_html/moodle/admin/index.php
Here is the code line 871 of inddex/php:
$invalidforgottenpasswordurl = !empty($CFG->forgottenpasswordurl) && empty(clean_param($CFG->forgottenpasswordurl, PARAM_URL));