여기로 가셔서 PhpWiki를 다운받습니다. 아래 그림과 같은 선택 화면이 나올텐데, 파일을 받는 장소(혹은 서버)를 선택하는 곳에서 unc(US)를 선택하면 조금 더 빠르다고 합니다.
$DBParams = array( // Select the database type:
//'dbtype' => 'SQL', 'dbtype' => 'dba', |
$DBParams = array( // Select the database type:
//'dbtype' => 'SQL', 'dbtype' => 'SQL', |
//'dsn' => 'mysql://guest@:/var/lib/mysql/mysql.sock/test', //'dsn' => 'mysql://guest@localhost/test', //'dsn' => 'pgsql://localhost/test',
//'dsn' => 'mysql://guest@:/var/lib/mysql/mysql.sock/test', 'dsn' => 'mysql://root@localhost/phpwiki', //'dsn' => 'pgsql://localhost/test',
define("CHARSET", "iso-8859-1");
define("CHARSET", "euc-kr");
define('ADMIN_USER', "");
define('ADMIN_PASSWD', "");
define('ADMIN_USER', "chatmate");
define('ADMIN_PASSWD', "wikiwiki");





)



static $classes = array(
'alnum' => "0-9A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff",
'alpha' => "A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff",
'upper' => "A-Z\xc0-\xd6\xd8-\xde",
'lower' => "a-z\xdf-\xf6\xf8-\xff"
);
static $classes = array(
'alnum' => "0-9A-Za-z",
'alpha' => "A-Za-z",
'upper' => "A-Z",
'lower' => "a-z"
);
define('NBSP', "\xA0"); // iso-8859-x non-breaking space.
define('NBSP', " "); // 공백으로 수정
mysql -u USERNAME -pPASSWORD
show databases;
create database phpwiki;
use phpwiki;
source schemas/mysql.sql
'dsn' => 'mysql://USERNAME:PASSWORD@localhost/phpwiki',
parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in lib/Request.php on line 28 Fatal error: Class declarations may not be nested in lib/WikiUser.php on line 19
링크 PhpWiki 1.2.2를 설치하고 templates 아래의 html파일들을 euc-kr로 설정했습니다. 더이상 한글 문제 등을 위해 설정해야 할 부분이 있는건가요?