User:DotSaid/MacOS

MediaWiki Installation on macOS - The Correct Way

Pre requirement


 * Open Source project MediaWiki
 * Version of macOS 10.15.R and above (R - an number, positive). Video  attached how to check it.

The process (easy)


 * Open your browser, and enter the following url: https://www.mediawiki.org.
 * On left menu click on “Get MediaWiki” option. Now, click on download MediaWiki under Latest release.
 * Copy mediawiki-P.XY.R.tar to main user folder.
 * Open Terminal then:
 * “Get MediaWiki”cd ~/
 * “Get MediaWiki”tar -xvf mediawiki-P.XY.R.tar
 * “Get MediaWiki”mkdir MediaWiki
 * “Get MediaWiki”cd MediaWiki
 * “Get MediaWiki”mkdir DB
 * “Get MediaWiki”mkdir TheBestWiki
 * “Get MediaWiki”mv -r ../mediawiki-P.XY.R TheBestWiki
 * Open BBEdit.
 * Open the file:
 * /private/etc/apache2/httpd.conf
 * Under section DocumentROOT change to:
 * DocumentRoot “~/MediaWiki/TheBestWiki”
 * 

- Under section “Dynamic Shared Object (DSO) Support”

- Replace

- #LoadModule php

- With

- LoadModule php

- Save the file

- Back to terminal and restart httpd service.

- Open yours browser and go to url:

- localhost/TheBestWiki/mw-config/index.php