CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 3438|Reply: 9

Cara Nak Install PHP Script.

[Copy link]
Post time 15-10-2012 01:41 PM | Show all posts |Read mode
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.




Reply

Use magic Report


ADVERTISEMENT


Post time 24-10-2012 01:19 PM | Show all posts
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" dari  sistem.

Rate

1

View Rating Log

Reply

Use magic Report

 Author| Post time 8-11-2012 01:30 PM | Show all posts
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??
Reply

Use magic Report

Post time 9-11-2012 12:37 AM | Show all posts
AkokKocik posted on 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 file tu guna apa ? ada kan file manager kat dlm cpanel tu ?
Reply

Use magic Report

 Author| Post time 14-11-2012 03:29 AM | Show all posts
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??
Reply

Use magic Report

Post time 14-11-2012 12:29 PM | Show all posts
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.


Rate

1

View Rating Log

Reply

Use magic Report

Follow Us
Post time 17-11-2012 12:59 AM | Show all posts
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
Reply

Use magic Report

Post time 21-11-2012 02:19 AM | Show all posts
hala nok, hosting kau tak ada cpanel 1-clik install tu ker? sekarang ni install 1Kelik jer nyah....

Rate

1

View Rating Log

Reply

Use magic Report


ADVERTISEMENT


Post time 18-1-2013 12:37 PM | Show all posts
Note: Thread has been banned by manager
Reply

Use magic Report

Post time 28-1-2013 12:28 AM | Show all posts
perang_saudara posted on 21-11-2012 02:19 AM
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

Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

31-12-2024 05:26 AM GMT+8 , Processed in 0.041187 second(s), 25 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list