Moodle Setup does not start - Error 500

Moodle Setup does not start - Error 500

by C M -
Number of replies: 4

Hey,

I want to set up Moodle on my Webserver, but the setup does not start. 

Moodle Version: 3.8.2 (Build: 20200309)
Database: MySql
PHP Version: 7.1

What I did:

1. Download Moodle and upload the files to my webspace (.../Moodle/MoodleCode/)
2. Create a MySql Database 
3. Set PHP Version to 7.1
4. Create a subdomain for my Moodle 
5. Create a Directory for Moodle Data (.../Moodle/MoodleData/)
6. Navigate to the install.php file

What I get: 

When I navigate to the install.php file the browser redirect to "/admin/index.php?lang=en". And Shows "HTTP ERROR 500".

But the setup does not start. 
I try to configure the config.php manually, but this changed nothing. 

Have you any idea what I did wrong or what I can try to fix this? 😥

Thank you!

Average of ratings: -
In reply to C M

Re: Moodle Setup does not start - Error 500

by Ken Task -
Picture of Particularly helpful Moodlers

Error 500's are related to web server mis-configurations.   So before going down what might be a rabbit hole, some more info needs to be provided and responses to questions to more questions might be in order:

1. where is your site hosted?  Provider name and what package leased.

2. what operating system is it?

3. what web server is your site using?  nginx/apache/apache with php-fmp/apache with fastcgi as examples.

Can recommend to you from info shared so far ... use lower case letters ... no Caps.

And did you read:

https://docs.moodle.org/38/en/Installing_Moodle

https://docs.moodle.org/38/en/Installation_quick_guide

'SoS', Ken

Average of ratings: Useful (2)
In reply to Ken Task

Re: Moodle Setup does not start - Error 500

by C M -
Thank you so much for your Help!

I found the error: It was only a misconfiguration in the .htaccess file regarding the php Version.

The php Version was not 7.1, it was 5..., but the error message was not clear.
I update to php version 7.2: now it works.