[tiger]server setting --MySQL,PHP--
ついでにMySQLとPHPも使えるように設定した。
A leaf of PowerBook MacOS X 10.4 TigerでPHP+MySQLを使おう参考
A leaf of PowerBook MacOS X 10.4 TigerでPHP+MySQLを使おう参考
http://dev.mysql.com/downloads/mysql/4.0.html
からInstaller package (Mac OS X v10.3) Standardをdownload
(PHP4.3系の場合4.1ではなくて4.0系を利用する)
/etc/httpd/httpd.conf
で
#LoadModule php4_module libexec/httpd/libphp4.so
#AddModule mod_php4.c
の#を取り除く
mySQLを楽に利用できるようにするためphpMyAdminをインストール。解凍して/Library/WebServer/Documentsに移動。
$cfg['PmaAbsoluteUri'] = '';
を
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/';
に変更。
$cfg['Servers'][$i]['auth_type'] = 'config';
を
$cfg['Servers'][$i]['auth_type'] = 'http';
に変更。
http://localhost/phpMyAdmin
でID=root,pass=なしでアクセスできた。
SELECTED ENTRIES