How to get MediaWiki running?

I configured the „LocalSettings.php“ file of an MediaWiki instance and got an confusing php error message on entering the landing page of the wiki. The solution of the problem was the line ending of my windows operating system. I pasted the config file with copy paste to the Linux terminal which included the carriage return and line feed ("\r\n"). The php parser was not able to resolve the carriage return and threw an random error. After cleaning the line endings everything worked.
1 answer

Taggings: