AkokKocik Publish time 15-10-2012 01:41 PM

Cara Nak Install PHP Script.

Salam semua, saya nak tanya jika ada warga cari kat sini tahu cara nk install php script?? Saya baru je beli script utk letak button like di website saya..domain & hosting dh beli..sya ingat senang je install,mcm wordpress jugak...rupa2nya susah bebenor...

manualnya ada disertakan tp sya masih keliru...ianya mcm ni,

        Installation        1) Unpack the archive and upload the content of the .......... folder to your web server
        2) Create the database (use cpanel or whatever database management client you have available)
        3) Open settings.php file and enter the database name, username and password you've choosen before
        4) Go to www.yourdomain.com/install write necessary informations and press "Install"
        5) Delete folder install from your site

tang bhgian ni yg sya tak fham..

ada x yg sudi ajarkan...makasih ye...mudah-mudahan mudah rezki org yg sudi berkongsi ilmu.:loveliness:




nacuwin Publish time 24-10-2012 01:19 PM

1) Unpack the archive and upload the content of the .......... folder to your web server
maksudnya paste kan kat dalam folder public_html (ikut hosting provider le die letak file2 tu kat ner)

2.Create the database (use cpanel or whatever database management client you have available)
Maksudnye si;a wat database baru.

3.Open settings.php file and enter the database name, username and password you've choosen before
maksudnya, kat step 1 tu lepas unpack, akan ada satu file nama "setting.php", kat dalam file neh edit masukkan nama database yang dibuat (kat dalam step2), username databse dan password database.

4.Go to www.yourdomain.com/install write necessary informations and press "Install"
lepas dah setup database baru leh install "php script neh", just ltype
www.yourdomain.com/install

5. lepas dah install, delte directory "install" darisistem.

AkokKocik Publish time 8-11-2012 01:30 PM

makasih le krn sudi mbantu,dh ok..lepas satu masalah..ada satu lagi masalah ke-2..

-> You need to edit only 2 things into the script configuration files
-> First, edit the “application / config / config.php “ file, and set “base url” to your server's root URL, something like this:
-> Next, you need to edit the “application / config / database “ file, and enter your database access information as following:
-> Now save both files, and upload everything to your root web directory such as “www” or “public_html”, in the end this directory should contain the following structure:

saya klik file spt yg diarahkan tp x dpt edit...cthnya file config.php,saya highlight & cuba edit mcm yg sya slalu buat utk edit ssuatu tp x dpt,adakah saya perlu copy & paste maklumat yg ada dlm file tu ke notepad,edit mana yg patut,namakan file ke config.php & save,mcm tu ke??

tlglah saya,saya niat kalau ada org yg buatkan saya berjaya menampakkan website saya ni ke internet,saya akan beri membership percuma ke website saya..amacam??blh tlg x??

bazaraya Publish time 9-11-2012 12:37 AM

AkokKocik posted on 8-11-2012 01:30 PM static/image/common/back.gif
makasih le krn sudi mbantu,dh ok..lepas satu masalah..ada satu lagi masalah ke-2..

-> You need to ...

edit file tu guna apa ? ada kan file manager kat dlm cpanel tu ?

AkokKocik Publish time 14-11-2012 03:29 AM

sya dh dpt cara nk edit file tu tp cmana nak edit..cthnya kat bwh ni,

$ab('default')('hostname') - 'localhost' ;
$ab('default')('username') - 'root' ;
$ab('default')('password') - '' ;
$ab('default')('database') - 'bml' ;

bhgian localhost,root & bml kena tukar ke/biarkan je,cuma isi bhgian password??kmudian dia suruh save file & upload everything to web directory...maksudnya upload file yg diedit saja ke / kesemua file yg diberi??

limaunipis03 Publish time 14-11-2012 12:29 PM

sharing sket..
since Akok ada sebut pasal cpanel, saya assume ni account kat webhosting mcm exabait ke.. shinjiro ker.. fivio ke...
so, biasanya kena create database dulu melalui cpanel dulu.

bila dah create database, kalau login account cpanel tu (contoh) testuser, dan databaseyg kita create tu kita namakan myforum (contoh la) so nama database tu jadi testuser_myforum

so dlm file setting tu,
hostname = biasanya kekalkan localhost
username = nama login utk cpanel
password = password utk cpanel
database = database yg kita create melalui cpanel tadi ( testuser_myforum)

ada satu lagi option - kita create satu user utk database tu (dlm cpanel jugak) kemudian assign user tersebut ke database tu. so tak perlu guna username & password cpanel kita.

kalo dah install kat server / webhosting, just upload file setting.php tu jer


ermm.. harap2 dpt membantu.


nacuwin Publish time 17-11-2012 12:59 AM

sume details neh awak leh dapat kat mysql detail, kalo dari cpanel. just copypaste masuk je. :)

$ab('default')('hostname') - 'localhost' ;--------->tukar kepada nama tempat kita host
$ab('default')('username') - 'root' ;-------->tukar kepada username database (masa awak wat databse sebelum neh dia dah kasi root.nanti kene hack)
$ab('default')('password') - '' ;------->tukar kepada password databse, masa awat wat databse sebelum neh
$ab('default')('database') - 'bml' ; ------------>tukar kepada nama databse

perang_saudara Publish time 21-11-2012 02:19 AM

hala nok, hosting kau tak ada cpanel 1-clik install tu ker? sekarang ni install 1Kelik jer nyah....

mydomainplus Publish time 18-1-2013 12:37 PM

trunks Publish time 28-1-2013 12:28 AM

perang_saudara posted on 21-11-2012 02:19 AM static/image/common/back.gif
hala nok, hosting kau tak ada cpanel 1-clik install tu ker? sekarang ni install 1Kelik jer nyah....
entahnya.. gunala cpanel yang ada skrip joomla, wordpress..2/3 kali klik
sudah jadi website..buat apa la nak pening kepala code itu ini.baik
fokus traffic yang boleh jana earning..

Last edited by trunks on 28-1-2013 02:23 AM

Pages: [1]
View full version: Cara Nak Install PHP Script.


ADVERTISEMENT