Yuav Ua Li Cas Kom Tsis Txhob Apache

Cov txheej txheem:

Yuav Ua Li Cas Kom Tsis Txhob Apache
Yuav Ua Li Cas Kom Tsis Txhob Apache

Video: Yuav Ua Li Cas Kom Tsis Txhob Apache

Video: Yuav Ua Li Cas Kom Tsis Txhob Apache
Video: yuav coj li cas kom luag nyiam 2024, Hlis ntuj nqeg
Anonim

Nres thiab pib Apache ntawm Unix-xws li tshuab tau ua tiav siv txoj kab xaj. Raws li qhov xav tau ntawm Windows, tus neeg siv lub server tuaj yeem raug tso tseg uas siv cov graphical tshwj xeeb lossis lub chaw tso hluav taws xob hu ua httpd. Yog tias koj siv XAMPP pab pawg uas poob zoo, Apache tuaj yeem raug xiam oob qhab los ntawm kev tswj hwm.

Yuav ua li cas kom tsis txhob apache
Yuav ua li cas kom tsis txhob apache

Cov Lus Qhia

Kauj ruam 1

Txhawm rau Apache ntawm Linux qhib Terminal (Cov Ntawv Siv - Tus Qauv - Cov Chaw Nres Nkag) thiab nkag mus rau cov lus txib:

./apachectl nres

Txhawm rau rov pib dua, nws yog txaus kom nkag mus rau qhov kev thov zoo sib xws, tab sis nrog rau pib qhov tsis suav:

./apachectl pib

Txhawm rau kom nres txoj kev tam sim ntawd, koj tuaj yeem siv –k hloov:

apachectl –k nres

Thaum tau txais lub cim no, niam txiv txheej txheem tua tag nrho cov txheej txheem ntawm cov menyuam, thiab tom qab ntawd tawm ntawm nws tus kheej.

Kauj ruam 2

Txhawm rau rov qab pib ntawm Apache, siv lub txiaj ntsig zoo, rau qhov rov qab pib, siv rov qab:

apachectl –k nkauj paub

apachectl –k rov ua haujlwm

Yog tias cov lus txib saum toj no tsis ua haujlwm, ces sim kaw lub server nrog kev tua lossis killall cov lus txib, tab sis nco ntsoov tias txhua zaus siv, txheej txheem yog swb

Kauj ruam 3

Ntawm Windows, mus rau Command Prompt (Pib - Accessories - Command Prompt) thiab hom:

cd C: / txoj kev mus rau lub nruab server 'bin

httpd –k kaw

Kauj ruam 4

Txhawm rau txiav tawm Apache, tsim kom muaj cov ntaub ntawv Stop.bat (khawm tus nas cai - Tshiab) thiab sau:

@echo tawm

C:

cd / path_to_apache / rau hauv

pib Apache.exe –k kaw

Txuag tag nrho kev hloov pauv. Tam sim no koj tuaj yeem kaw qhov kev pabcuam los ntawm ob npaug nias ntawm cov ntaub ntawv no.

Kauj ruam 5

Yog tias koj siv XAMPP tsim raws li ib lub vev xaib hauv cheeb tsam, tom qab ntawd Apache tuaj yeem raug kaw los ntawm Pawg Tswj Xyuas. Mus rau Start Menu - Txhua Cov programs - XAMPP rau Windows - XAMPP Control Vaj Huam Sib Luag. Hauv lub qhov rai uas qhib, rov qab dhau ntawm Apache cov khoom, nyem lub pob Nres. Txhawm rau pib dua, siv khawm pib. Yog tias koj xav pib nyob rau hauv hom kev pabcuam, tsis txhob hnov qab xaiv lub thawv tom ntej ntawm Svc.

Kauj Ruam 6

Yog tias koj siv lub rooj sib tham npaj tau tsim ntawm Denwer, tom qab ntawd kom tsum tsis txhob ua haujlwm ntawm lub server, siv qhov Nres Nres Server hla ntawm lub desktop. Txhawm rau rov qab ua dua, ob npaug nyem rau ntawm Restart Server ntawm shortcut.

Pom zoo: