Today's Page Hits: 314
I have more hair and it isn't so grey. :->
This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.
So not all wiki markup languages are the same. The Wikka markup does not match that of MediaWiki. So Robert suggested The MacPorts Project. And port and I are old friends from FreeBSD. Anyway, the php install did not like that Leopard is now using apache2. I got past that with help from php-5.2.5 on Leopard. Note I did the following:
sudo port install php5 +apache2 +mysql5 +pear +sqlite
Now to configure MediaWiki. Umm, where is that config directory? Why here at file:///opt/local/www/data/mediawiki/config. You are supposed to be able to just load file:///opt/local/www/data/mediawiki and it detects that you need to configure it. Okay, manaually loading either results in gibberish.
Manual:Installing MediaWiki tells you how to configure MySQL for MediaWiki. And that actually results in a good initial screen. But the path is all wrong. According to the manual, this http://localhost/wiki should just work. Okay, do the following:
stealth:www tdh$ cd /opt/local/apache2/ stealth:htdocs tdh$ sudo ln -s /opt/local/www/data/mediawiki wiki
My guess is that the change from apache to apache2 has changed where things are installed. Note you can move the directory, but if you do an upgrade, then you are hosed.
Make sure you realize when you setup the MySQL part you are creating a password of 'password' for wikiuser. You can fix that mistake, if you somehow did it, not saying I did:
stealth:htdocs tdh$ mysql -u wikiuser -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.0.45 MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> set password = password("change_me");
Query OK, 0 rows affected (0.00 sec)
mysql> \q
Bye
And you still need to fix up the socket for MySQL and PHP to talk:
stealth:etc tdh$ pwd /opt/local/etc stealth:etc tdh$ diff php.ini php.ini-recommended 810,811c810 < ; mysql.default_socket = < mysql.default_socket = /tmp/mysql.sock --- > mysql.default_socket =