For your first problem, see systemrequirements: Safe Mode must be turned OFF (see the forums on moodle.org for problems caused by Safe Mode) Try to convince your host to turn save mode off
For your second problem, just click on Allowed memory size in your post