A: Most likly your using PHP 4.0.4 which has a problem with it's sorting
routines. You have two choices:
- downgrade to php 4.0.3pl1
- upgrade to php 4.0.4pl1 (should be out by the time you read this)
以下內容應加在最前面:
CONNECT mysql;
REPLACE INTO user ( host, user, password )
VALUES (
'localhost',
'twigmgr',
password('password')
);
REPLACE INTO db ( host, db, user, select_priv, insert_priv, update_priv,
delete_priv, create_priv, drop_priv )
VALUES (
'localhost',
'twig',
'twigmgr',
'Y', 'Y', 'Y', 'Y',
'Y', 'Y'
);
CREATE DATABASE twig;
CONNECT twig;
以下內容應加在最後面:
FLUSH PRIVILEGES;
建立 mysql 所需的資料庫
/usr/local/mysql/bin/mysql -u [user] -p[password] mysql < setup/twig.table.mysql
vi config.inc.php3
$config["fromdomain"]= "bsdlab.idv.tw";
$config["auth_logout_redirect"] = "/twig/";
$config["language"] = "chinesebig5";
vi dbconfig.inc.php3
$dbconfig["sqlusername"]= "twigmgr";
$dbconfig["sqlpassword"]= "password";
重新啟動Apache:
/usr/local/apache/bin/apachectl restart