色々と設定
1.ローカルのhttp://localhost/~hogehoge/が見れない
cp /etc/httpd/hogehoge.conf /etc/apache2/users/
で解決.
2.ローカルで立ち上げていたMediaWikiが動かなくなった.
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 491520 bytes) in /Users/takashi/Sites/mediawiki-1.9.3/languages/messages/MessagesJa.php on line 1190
よし,メモリの制限をあげよう.
emacs -nw /etc/php.ini
を開いて.
#memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
memory_limit = 16M ; Maximum amount of memory a script may consume (8MB)
に変更すると,次は
(Can't contact the database server: Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) (localhost))
とか言われたから,仕方なく
# mkdir /var/mysql
# ln -s /tmp/mysql.sock
とすると,取り敢えず順調に動いた...