
Change the required permission for LocalSetting.php Change the selinux policy for. mediawiki/ Go to file Cannot retrieve contributors at this time 138 lines (107 sloc) 4. Once you have have uploaded LocalSettings.php to your MediaWiki site, you can either click the enter your wiki link from the Complete page we were on. The file is usually generated by the web-based MediaWiki installer but you can tweak the parameters, possibly in concert with Apache settings. You should take your time to review the settings in this file. Uncompress the files into the root directory of your website (not in a subdirectory). The LocalSettings.phpfile provides basic configuration settings(based on the DefaultSettings.phpfile) of a MediaWikiinstallation. Next it includes some commonly used files. Download MediaWiki to your local computer. First it changes some configuration settingssuch as paths variables that aren't customized in LocalSettings.php so that they don't need to be modified if wgScriptPathis changed or it updates new configuration settings from the backward compatible ones.
#Mediawiki localsettings php install#
Uncompress the files into the root directory of your website (not in a subdirectory). Install web server software, if you havent already. Download MediaWiki to your local computer.

#Mediawiki localsettings php full#
Linux version 5.3.0-26-generic (gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)) #28-Ubuntu SMP Wed Dec 18 05:37: Docker Versionġ9.03.3, build a872fc2f86 Mediawiki Image & Versionģ.) Run docker run -name some-mediawiki -p 8080:80 -d mediawikiĥ.) Set up mediawiki server following set up guide and use SQLite for the databaseĦ.) Download generated LocalSettings.php at end of mediawiki server set upħ.) Move LocalSettings.php to /var/lib/mediawiki/ directory, which contains index.php, as the mediawiki set up instructions specifyĨ.) Navigate to in a browser again and receive the ‘LocalSettings.php not found’ error Unsuccessful Attempts to Fixġ.) Move LocalSettings.php to just /var/lib/mediawiki/mw-config directory, which also contains an index.php fileĢ.) Put LocalSettings.php in both /var/lib/mediawiki and /var/lib/mediawiki/mw-config directories, each of which contains an index.php fileģ.) Run sudo chmod 777 LocalSettings.php to give full permissions on LocalSettings.phpĥ.) Run sudo systemctl restart apache2 in a terminal to restart apache2Ħ.) Run sudo docker restart some-mediawiki to restart container in the hopes it would find LocalSettings. Move the downloaded LocalSettings.php file into mediawiki root directory. Install web server software, if you haven't already.
