1.先進phpmyadmin把DB匯出

2.copy現在的xoops網站到要置放的主機

3.修改路徑-以下以本機說明 mainfile.php

if (!defined("XOOPS_MAINFILE_INCLUDED")) {
    define("XOOPS_MAINFILE_INCLUDED", 1);

    // XOOPS Physical Paths

    // Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
    define('XOOPS_ROOT_PATH', 'C:/AppServ/www/ds2');

    // For forward compatibility
    // Physical path to the XOOPS library directory WITHOUT trailing slash
    define('XOOPS_PATH', 'C:/AppServ/www/ds2/xoops_lib');
    // Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
    define('XOOPS_VAR_PATH', 'C:/AppServ/www/ds2/xoops_data');
    // Alias of XOOPS_PATH, for compatibility, temporary solution
    define("XOOPS_TRUST_PATH", XOOPS_PATH);

    // URL Association for SSL and Protocol Compatibility
    $http = 'http://';
    if (!empty($_SERVER['HTTPS'])) {
        $http = ($_SERVER['HTTPS']=='on') ? 'https://' : 'http://';
    }
    define('XOOPS_PROT', $http);

    // XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://10.1.60.22/ds2');
    define('XOOPS_URL', 'http://10.1.60.22/ds2');

4.C:\AppServ\www\ds2\xoops_data\data的secure.dist.php跟secure.php的DB改成你新的DB名稱

 

5.大功告成

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 Med People規醫人 的頭像
    Med People規醫人

    規醫人-Med People

    Med People規醫人 發表在 痞客邦 留言(0) 人氣()