MediaWiki installation Information |
---|
These installation instructions are written for the following versions of MacPorts software:
- Apache 2.2.* - See: howto/Apache2 for instructions on installation of Apache2
- MySQL 5.6.* - See: howto/MySQL for instructions on installation of MySQL
- PHP 5.6.* - See: howto/PHP for instructions on installation of PHP
Note that if you intend to install MediaWiki also, the instructions found at https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X also refer to MAMP which is a commercial product (http://www.mamp.info/en/). They also refer to " MAMPstack + MediaWiki, which is a BItnami installer for Mediawiki.
- MediaWiki 1.24.* - see: howto/MediaWiki for instructions on installation of MediaWiki
MediaWiki reference information
- a general description of the OSX installation of MediaWiki - https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X
- the primary "manual" installation guide - https://www.mediawiki.org/wiki/Manual:Installation_guide
- Information on dowloading - https://www.mediawiki.org/wiki/Download
- Subscribe to the MediaWiki support lists - https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
Step 1: Install MediaWiki
$ sudo port install MediaWiki
MediaWiki will also install:
- port:php56-intl
- port:php56-dba
- port:php56-mbstring
- port:ImageMagick
MySQL installation
create database wikidb; grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to 'wikiuser'@'localhost' identified by 'password';
If your database is not running on the same server as your web server, you need to give the appropriate web server hostname -- mediawiki.example.com in my example -- as follows:
grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to 'wikiuser'@'mediawiki.example.com' identified by 'password';