Qhov wikiHow no qhia koj li cas qhib thiab kho cov ntaub ntawv PHP programming ntawm lub Windows lossis Mac computer.
Kauj ruam
Txoj Kev 1 ntawm 2: Ntawm Windows Computer
Kauj Ruam 1. Rub tawm thiab teeb tsa Notepad ++
Notepad ++ yog qhov khoos phis tawj pub dawb uas tsuas yog muaj rau Windows ua haujlwm thiab tuaj yeem qhib cov ntaub ntawv PHP. Txhawm rau nruab nws, ua raws cov theem no:
- Mus ntsib https://notepad-plus-plus.org/download/v7.5.8.html ntawm lub computer web browser.
- Nyem lub pob " DOWNLOAD "Uas yog ntsuab.
- Ob npaug nias rau ntawm Notepad ++ cov ntaub ntawv teeb tsa.
- Ua raws li cov lus qhia teeb tsa uas tshwm.
Kauj ruam 2. Qhib Notepad ++
Yog tias Notepad ++ program tsis qhib cia li tom qab teeb tsa, mus rau cov ntawv qhia zaub mov Pib ”
ntaus ntawv notepad ++, thiab nyem " Notepad ++ yog "Nyob rau sab saum toj ntawm cov txiaj ntsig tshawb fawb.
Kauj Ruam 3. Nyem Cov Ntaub Ntawv
Nws nyob rau sab saud sab laug ntawm Notepad ++ qhov rai. Cov ntawv qhia zaub mov nco-down yuav tshwm tom qab ntawd.
Kauj Ruam 4. Nyem Qhib…
Qhov kev xaiv no yog nyob hauv cov ntawv qhia zaub mov nco-down. Tom qab ntawd, Cov Ntaub Ntawv Explorer qhov rai yuav tshwm.
Kauj Ruam 5. Xaiv PHP ntawv
Mus rau qhov chaw uas khaws cov ntaub ntawv PHP, tom qab ntawd nyem rau ntawm cov ntawv xaiv nws.
Kauj Ruam 6. Nyem Qhib
Nws nyob hauv lub kaum sab xis-sab xis ntawm lub qhov rais. Cov ntaub ntawv PHP yuav qhib rau hauv Notepad ++ qhov rai yog li koj tuaj yeem pom cov ntaub ntawv tus lej thiab ua qhov tsim nyog kho.
Yog tias koj xav tau kho cov ntaub ntawv PHP, nias Ctrl+S kom txuag kev hloov ua ntej tawm ntawm Notepad ++ program
Txoj Kev 2 ntawm 2: Ntawm Mac Computer
Kauj Ruam 1. Rub tawm thiab teeb tsa BBEdit
Txoj haujlwm pub dawb no tso cai rau koj saib thiab kho ntau hom ntaub ntawv, suav nrog PHP. Txhawm rau nruab nws, ua raws cov theem no:
- Mus ntsib https://www.barebones.com/products/bbedit/ ntawm koj lub computer lub vev xaib.
- Nyem " Dawb download "Nyob rau sab xis saum toj ntawm nplooj ntawv.
- Nyem ob npaug rau rub tawm DMG cov ntaub ntawv.
- Ua pov thawj software yog hais kom sai.
- Luag lub cim BBEdit mus rau "Applications" folder.
- Ua raws li cov lus qhia pom ntawm qhov screen.
Kauj Ruam 2. Qhib Qhov Tseeb
Nyem rau lub iav tsom iav icon nyob rau sab xis saum toj ntawm lub vijtsam kom qhib nws.
Kauj Ruam 3. Qhib BBEdit
Ntaus bbedit, tom qab ntawd nyem ob npaug " BBEdit "Hauv cov ntawv qhia zaub mov nco-down.
Yog tias qhov no yog koj thawj zaug qhib BBEdit tom qab txhim kho nws, nyem " Qhib "Thaum hais kom ua, tom qab ntawd xaiv" Txuas ntxiv "Kom txuas ntxiv lub sijhawm sim rau 30 hnub.
Kauj Ruam 4. Nyem Cov Ntaub Ntawv
Nws nyob rau sab saum toj-sab laug ntawm qhov screen. Tom qab ntawd, cov ntawv qhia zaub mov nco-down yuav tshwm.
Kauj Ruam 5. Nyem Qhib…
Qhov kev xaiv no yog nyob hauv cov ntawv qhia zaub mov nco-down " Cov ntaub ntawv " Thaum nyem, lub Finder window yuav tshwm.
Kauj Ruam 6. Xaiv PHP ntawv
Mus rau qhov chaw uas khaws cov ntaub ntawv PHP, tom qab ntawd nyem rau PHP cov ntaub ntawv los xaiv nws.
Kauj Ruam 7. Nyem Qhib
Nws nyob hauv lub kaum sab xis-sab xis ntawm lub qhov rais. Tom qab ntawd, PHP cov ntaub ntawv yuav raug qhib hauv BBEdit. Tam sim no koj tuaj yeem pom cov ntawv khaws cia hauv PHP ntawv.
- Koj yuav tsum tau nyem rau " Xaiv ”.
- Yog tias koj xav kho cov ntaub ntawv, nco ntsoov tias koj khaws koj cov kev hloov pauv los ntawm txhaj cov keyboard shortcut Command+S.