phpcms轉(zhuǎn)移到虛擬空間的步驟
2018-11-30 來源:愛站科技

說到phpcms網(wǎng)站的數(shù)據(jù)遷移,相信并不是很見,所以網(wǎng)絡(luò)上也比較少這方面的教程和介紹,今天西部數(shù)碼技術(shù)頻道小編為大家?guī)韕hpcms轉(zhuǎn)移到虛擬空間的步驟,希望能幫到你!
phpcms轉(zhuǎn)移到虛擬空間的步驟
1.http://localhost/phpmyadmin/登陸數(shù)據(jù)庫后臺備份數(shù)據(jù)庫
2.D:\PC_webserver\wwwroot\caches\configs 里面的
?
cache.php>>>>>>>>>>>>>11行
'hostname' => '你的域名',如:'hostname' => 'wanzlqb.funpic.de',
datebase.php(數(shù)據(jù)庫文件)》》》》》》》》》》》》
'hostname' => '數(shù)據(jù)庫主機(jī)地址',
'database' => '數(shù)據(jù)庫名字',//你的數(shù)據(jù)庫名
'username' => '登陸的用戶名',
'password' => '登陸密碼',
'tablepre' => 'v9_',
'charset' => 'gbk',
'type' => 'mysql',
'debug' => true,
'pconnect' => 0,
'autoconnect' => 0
system.php》》》》》》》》》》》》》》
把全部的localhost替換成你的域名
?
3.把wwwroot文件里面的全部文件上傳到虛擬空間
4.登陸虛擬空間提供的mysql數(shù)據(jù)庫 導(dǎo)入你的備份//注意你導(dǎo)入的庫名 是否和你在datebase.php里面填寫的一致
5.登陸網(wǎng)站后臺地址http://你的域名/admin.php
?
?
?
?
//如果你的驗(yàn)證碼異常,到ftp上修改phpcms\modules\admin里面的index.php
// 注釋掉第32行到第35行
// $code = isset($_POST['code']) && trim($_POST['code']) ?trim($_POST['code']) : showmessage(L('input_code'), HTTP_REFERER);
// if ($_SESSION['code'] != strtolower($code)) {
// showmessage(L('code_error'), HTTP_REFERER);
// }
找到------導(dǎo)航--設(shè)置------里面的站點(diǎn)-------修改------localhost為你的域名--保存----(左面?zhèn)冗厵冢┥芍黜?-ok---------導(dǎo)航----內(nèi)容--------更新之類的
以上是phpcms轉(zhuǎn)移到虛擬空間的步驟全部介紹,喜歡這些介紹的朋友可以繼續(xù)關(guān)注西部數(shù)碼技術(shù)頻道哦!
標(biāo)簽: Mysql 代碼 數(shù)據(jù)庫 網(wǎng)絡(luò) 西部數(shù)碼 虛擬空間 域名
版權(quán)申明:本站文章部分自網(wǎng)絡(luò),如有侵權(quán),請聯(lián)系:west999com@outlook.com
特別注意:本站所有轉(zhuǎn)載文章言論不代表本站觀點(diǎn)!
本站所提供的圖片等素材,版權(quán)歸原作者所有,如需使用,請與原作者聯(lián)系。