Txoj kev txhim kho thiab kev debugging ntawm txhua lub Vev xaib yog qhov haujlwm nyuaj uas siv sijhawm thiab qhov tseeb, nkag mus rau lub xaib. Tsis yog txhua tus neeg tuaj yeem them taus los xauj hosting thiab lub npe sau npe los sim nrog tsim cov kev pab hauv Is Taws Nem. Tab sis muaj ib txoj haujlwm tshwj xeeb uas yuav pab koj tau lub xaib thiab khiav ntawm koj lub khoos phis tawm.
Cov Lus Qhia
Kauj ruam 1
Rub lub Denwer nqi hluav taws xob. Txhawm rau ua qhov no, qhib cov browser, mus rau nplooj ntawv project ntawm https://www.denwer.ru/. Lub nplooj ntawv tseem ceeb ntawm lub xaib muaj qhov txuas txuas rau kev hloov kho tas li ntawm cov pob software. Nws suav nrog txhua qhov tseem ceeb rau kev tsim cov vev xaib thiab cov ntawv thov. Cov txheej txheem yooj yim suav nrog Apache server, MySQL pab txhawb rau kev ua haujlwm nrog databases. Thiab tseem PHP, uas tsim nyog rau kev teeb tsa thiab kev ua haujlwm ntawm ntau lub vev xaib tswj hwm cov ntsiab lus.
Kauj ruam 2
Koj tuaj yeem yooj yim nthuav cov peev txheej ntawm cov qauv txheej txheem. Ua li no, rub tawm thiab nruab cov qauv ntxiv uas koj xav tau los ntawm tus tsim tawm xaib. Ntxiv mus, tag nrho cov phiaj xwm yog dawb thiab ua haujlwm heev.
Kauj ruam 3
Khiav lub xa khoom Denwer faib. Qhov no tuaj yeem ua tiav los ntawm cov ntawv qhia zaub mov nrog tus nas khawm xis lossis tsuas yog nyem ob npaug ntawm cov ntawv. Koj yuav pom kev teeb tsa lub qhov rai console thiab cov lus los ntawm cov txheej txheem teeb tsa qhov kev pab cuam. Xaiv lub tsav thiab nplaub tshev rau qhov kev zov me nyuam, thiab tseem qhia seb koj puas xav tsim shortcuts ntawm lub desktop. Nws yog qhov zoo tshaj plaws los txais cov qauv kev xaiv.
Kauj ruam 4
Thaum lub sij hawm teeb tsa, qhov kev zov me nyuam yuav muab los tsim cov virtual disk rau tus neeg rau zaub mov. Pom zoo nrog cov ntawv thov no thiab muab cov ntawv Latin dawb rau "disk" ntxiv. Qhov tseeb, daim disk no yuav raug txwv rau qhov loj me ntawm qhov muab faib uas koj nruab Denwer rau. Peb txoj kev tawm luv luv yuav tshwm sim rau koj lub desktop: Khiav Denwer, Nres thiab Rov Ntaus. Lawv xav tau los pib, nres thiab pib dua lub web server. Thov nco ntsoov tias lub installation yuav tsum muaj qhov chaw nrog ib tus account nrog tag nrho cov cai, uas yog, "Computer Administrator".
Kauj ruam 5
Pib Denwer virtual web server. Nyem rau ntawm Dlaim Denwer icon thiab tos kom txog thaum lub dub thiab dawb system console qhov rais qhia tias txhua qhov kev pabcuam tau pib ua tiav. Tom qab ntawd xyuas seb lub web server thiab nws cov khoom sib txuas tau tiav lawm. Qhib txhua lub browser thiab hom 127.0.0.1 lossis localhost hauv qhov chaw nyob bar. Hauv ob qho xwm txheej no, koj yuav pom nplooj ntawv zoo siab txais tos los ntawm cov neeg tsim tawm thiab pab cov ntaub ntawv rau kev siv cov suite no ntawm cov programs.
Kauj Ruam 6
Luam tawm daim nplaub tshev nrog lub xaib koj tsim rau Denwer installation directory, mus rau / / cov npe hauv tsev. Piv txwv li, txoj hauv kev hauv Denver installation yog C: Webservers. Qhib cov ntawv no thiab nrhiav cov ntawv qhia chaw nyob uas koj qhov chaw yuav tsum tau nyob. Tus qauv tsim qauv kom raug yuav tsum muaj cai, txwv tsis pub koj yuav tsis tuaj yeem ua kom muaj kev xaib hauv koj lub computer. Yog tias txhua yam ua tiav zoo, koj tuaj yeem mus rau zaum kawg rau kev ua.
Kauj Ruam 7
Ntaus rau hauv qhov chaw nyob ntawm koj tus browser lub npe ntawm koj lub xaib, raws li lub npe ntawm cov ntawv tais ceev tseg hauv daim ntawv qhia tom tsev. Yog tias koj tau tsim ib nplooj ntawv, suav tag nrho lub npe ntawm "tus xaib" thiab cov npe ntawm nplooj ntawv.