Anda di halaman 1dari 3

kkApacheFriendskXAMPPkLitekversionk1.5.3a kk+kApachek2.2.2 kk+kMySQLk5.0.21 kk+kPHPk5.1.4k+kPEARk(basickpac age) kk+keAcceleratork0.9.5kbeta2k(PHP5kexperimentally) kk+kXAMPPkControlkVersionk2.3kfromkwww.nat32.com kk+kXAMPPkSecurityk1.0 kk+kSQLitek2.8.15 kk+kOpenSSLk0.9.8b kk+kphpMyAdmink2.8.1 kk+kWebalizerk2.01-10 kk+kZendkOptimizerk3.0.

0 k *kSystemkRequirements: k kk+k64kMBkRAMk(recommended) kk+k100kMBkfreekFixedkDis k kk+kWindowsk98,kME kk+kWindowskNT,k2000,kXPk(Recommended) QUICKkINSTALLATION: [Stepk1:kUnpac kthekpac agektokyourkusbkstic korkakpartitionkofkyourkchoice. Therekitkmustkbekonkthekhighestklevelkli ekE:\korkW:\.kItkwillk buildkE:\xampplitekorkW:\xampplitekorksomethingkli ekthis.kPleasekdoknot usekthek"setup_xampp.bat"kforkankUSBkstic kinstallation!]kkk Stepk1:kUnpac kthekpac agekintokakdirectorykofkyourkchoice.kPleasekstartkthek "setup_xampp.bat"kandkbeginningkthekinstallation.kNote:kXAMPPkma esknok entrieskinkthekwindowskregistrykandknoksettingskforktheksystemkvariables.k Stepk2:kIfkinstallationkendsksuccessfully,kstartkthekApachek2kwithk "apache_start".bat",kMySQLkwithk"mysql_start".bat".kStopkthekMySQLk Serverkwithk"mysql_stop.bat".kForkshutdownkthekApachekHTTPD,konlyk closekthekApachekCommandk(CMD).kk Stepk3:kStartkyourkbrowserkandktypekhttp://127.0.0.1kork http://localhostkinktheklocationkbar.kYoukshouldkseekourkpre-made startkpagekwithkcertainkexampleskandktestkscreens.k Stepk4:kPHPk(withkmod_php,kask*.php,k*.php4,k*.php3,k*.phtml),kPerl bykdefaultkwithk*.cgi,kSSIkwithk*.shtmlkarekallklocatedkink =>k\xampplite\htdocs\. Beispielek(Examples): =>k\xampplite\htdocs\test.phpk=>khttp://localhost/test.php =>k\xampplite\myhome\test.phpk=>khttp://localhost/myhome/test.php Stepk5:kXAMPPkUNINSTALL?kSimplykremovekthek"xampp"kDirectory. Butkbeforekpleasekshutdownkthekapachekandkmysql.kk --------------------------------------------------------------PASSWORDS 1)kMySQL user:kroot password: (meansknokpassword!)

2)kWEBDAV:k user:kwampp password:kxampp --------------------------------------------------------------ONLYkFORkNTkSYSTEMS (NT4k|kwindowsk2000k|kwindowskxp) \xampplite\apache\apache_installservice.batk= ==>kInstallkApachek2kaskservicekkk \xampplite\apache\apache_uninstallservice.batk= ==>kUninstallkApachek2kaskservicekkk \xampplite\mysql\mysql_installservice.batk= ==>kInstallkMySQLkaskservicekkk \xampplite\mysql\mysql_uninstallservice.batk= ==>kUninstallkMySQLkaskservicekkk ==>kAfterkallkServicek(un)installations,kbetterkrestartksystem! ---------------------------------------------------------------Akmatterkofksecurityk(AkMUSTkREAD!) Askmentionedkbefore,kXAMPPkisknotkmeantkforkproductionkusekbutkonlykforkdevelope rsk inkakdevelopmentkenvironment.kThekwaykXAMPPkiskconfiguredkisktokbekopenkaskpossi blek andkallowingkthekdeveloperkanythingkhe/shekwants.kForkdevelopmentkenvironmentskt hisk iskgreatkbutkinkakproductionkenvironmentkitkcouldkbekfatal.kHerekaklistkofkmissi ngksecurityk inkXAMPP: ThekMySQLkadministratork(root)khasknokpassword. ThekMySQLkdaemonkiskaccessiblekviaknetwor . phpMyAdminkiskaccessiblekviaknetwor . Exampleskarekaccessiblekviaknetwor . Tokfixkmostkofktheksecuritykwea nessesksimplykcallkthekfollowingkURL: http://localhost/security/ ThekrootkpasswordkforkMySQLk+kphpMyAdminkandkalsokakXAMPPkdirectorykprotectionkc ankbeingkestablishedkhere. ApachekNotes: (1)kInkcontrastkofkapachek1.x,kyoukcanknotkstopkthekapache2 withkthekcommandk"apachek- kshutdown".kThesekfunctionskonlykfor ankinstallationskaskservicekbykNTksystems.kSo,ksimplykclose thekApachekSTARTkcommandkforkshutdown.k kk (2)kTokusekthekexperimentalkversionkofkmod_auth_mysqlkremovekthek#kin thekhttpd.conf.kDetailedkinformationkaboutkthisktopickcankbekfoundkonk thekleftkmenukofkxampp,koncekyoukstartedkit.

(3)kTokusekMod_DavkloadkthekModulesk mod_dav.sok+kmod_dav_fs.sokinkthekhttpd.confkbykremovingkthek#konk thekbeginningkofktheirklines.kThenktrykhttp://127.0.0.1:81k(notk forkFrontpage,kbutkforkDreamweaver) MYSQLkNOTES: (1)kThekMySQLkserverkcankbekstartedkbykdouble-clic ingk(executing) kkkkmysql_start.bat.kThiskfilekcankbekfoundkinktheksamekfolderkyoukinstalled kkkkxamppkin,kmostkli elykthiskwillkbekC:\xampp\. kkkkThekexactkpathktokthiskfilekiskX:\xampp\mysql_start.bat,kwhere kkkk"X"kindicateskthekletterkofkthekdrivekyoukunpac edkxamppkinto. kkkkThiskbatchkfilekstartskthekMySQLkserverkinkconsolekmode.kThekfirstk kkkkintializationkmightkta ekakfewkminutes. kkkk kkkkDoknotkclosekthekDOSkwindowkorkyou'llkcrashkthekserver! kkkkTokstopkthekserver,kpleasekusekmysql_shutdown.bat,kwhichkisklocatedkinktheks ame kkkkdirectory. (2)kTokusekthekMySQLkDaemonkwithk"innodb"kforkbetterkperformance,k kkkkpleasekeditkthek"my"k(ork"my.cnf")kfilekinkthek/xampplite/mysql/bink kkkkdirectorykorkforkserviceskthekc:\my.cnfkforkwindowskNT/2000/XP.k kkkkInkthere,kactivatekthek"innodb_data_file_path=ibdata1:30M" kkkkstatement.kAttention,k"innodb"kisknotkrecommendedkfork95/98/ME. kkkk kkkkTokusekMySQLkaskServicekforkNT/2000/XP,ksimplykcopykthek"my"k kkkk/k"my.cnf"kfilektokC:\my,korkC:\my.cnf.kPleaseknotekthatkthisk kkkkfilekhasktokbekplacedkinkC:\k(root),kotherklocationskareknotkpermitted.kThen kkkkexecutekthek"mysql_installservice.bat"kinkthekmysqlkfolder.k kkkkk (3)kMySQLkstartskwithkstandardkvalueskforkthekuserkidkandkthekpassword.kThekpres et kkkkuserkidkisk"root",kthekpasswordkisk""k(=knokpassword).kTokaccesskMySQLkviakP HP kkkkwithkthekpresetkvalues,kyou'llkhavektokusekthekfollowingksyntax: kkkkmysql_connect("localhost","root",""); kkkkIfkyoukwantktoksetkakpasswordkforkMySQLkaccess,kpleasekusekofkmysqladmin. kkkkToksetkthekpasswortk"secret"kforkthekuserk"root",ktypekthekfollowing: kkkk\xampplite\mysql\bin\mysqladmink-ukrootkpasswordksecret kkkk kkkkAfterkchangingkthekpasswordkyou'llkhavektokreconfigurekphpMyAdminktokusekthe kkkknewkpassword,kotherwisekitkwon'tkbekablektokaccesskthekdatabases.kTokdokthat , kkkkopenkthekfilekconfig.inc.phpkink\xampplite\phpmyadmin\kandkeditkthe kkkkfollowingklines:kkkk kkkk kkkk$cfg['Servers'][$i]['user']kkkkkkkkkkkk=k'root';kkk//kMySQLkuser kkkk$cfg['Servers'][$i]['auth_type']kkkkkkk=k'http';kkk//kHTTPkauthentificate kkkkSokfirstkthek'root'kpasswordkiskqueriedkbykthekMySQLkserver,kbeforekphpMyAdm ink kkkkmaykaccess. kk kkkk ---------------------------------------------------------------kkkk Havekaklotkofkfun!kVielkSpa!kBonnekChance! kkkkk

Anda mungkin juga menyukai