Talk:Mac OS X
From MyWiki
Installing MediaWiki
This section is work in progress...
- Apache is already installed. Start web serving by using 'System Preferences', 'Sharing', and starting 'Personal Web Sharing'
- Using FinkCommander install:
- mysql
- mysql-client
- Start mysql daemon:
# /sw/bin/mysqld_safe --user=mysql &
- Set the root password:
# /sw/bin/mysqladmin -u root password some-password-here
- Install PHP
- Follow directions from http://developer.apple.com/internet/opensource/php.html (Tested with 5.2.3; I just did the basic install)
- Add the following line to /etc/httpd/httpd.conf:
AddType application/x-httpd-php .php
- Use FinkCommander to install phpmyadmin. This is optional but useful.
- Add the following line to /etc/httpd/httpd.conf
Alias /phpmyadmin/ /sw/share/phpmyadmin/
- Restart Appache httpd:
# /usr/sbin/apachectl restart
