wiki:howto/MediaWiki

Version 1 (modified by magill@…, 9 years ago) (diff)

new

<- Back to the HOWTO section

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 reference information

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';

<- Back to the HOWTO section