| Please follow this link to see as well another page about installing on Mac OS X with darwinports |
|---|
Apache and PHP are pre-installed on Mac OS X client, but disabled by default. The following should work for Leopard (10.5.x), Tiger (10.4.x) and Panther (10.3.x) client (if there is no previous version of DokuWiki installed):
$ sudo cp /private/etc/apache2/httpd.conf /private/etc/apache2/httpd.conf.bak
$ sudo pico /private/etc/apache2/httpd.conf
CHANGE: #LoadModule php5_module TO: LoadModule php5_module
CHANGE:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
TO:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
$ cd ~/Downloads && tar -zxvf dokuwiki-yyyy-mm-dd.tgz $ mv dokuwiki-yyyy-mm-dd ~/Sites/dokuwiki $ cd ~/Sites/dokuwiki $ sudo chown -R www data conf
sudo apachectl gracefulYou should now be able to run the installer at http://localhost/~your_username/dokuwiki/install.php
For Tiger (10.4.x) and Panther (10.3.x) server:
$ cd ~/Desktop && tar -zxvf dokuwiki-yyyy-mm-dd.tgz $ mv dokuwiki-yyyy-mm-dd ~/Sites/dokuwiki $ cd ~/Sites/dokuwiki $ sudo chown -R www data conf
You should now be able to run the installer at http://localhost/dokuwiki/install.php
$conf['basedir'] = '/~yourusername/dokuwiki/'; //absolute dir from serveroot - blank for autodetection
What about MacPorts? Can anyone offer guidance there? (the MacPorts documentation is sparse on everything, so some help here would be nice)