2014-09-27 4 views
6

wamp 서버를로드하려고하면 오류가 발생합니다.Wamp 서버 시작 오류

구성 파일에 0 행에 구문 오류가 있습니다. [EParseError] 트레이 아이콘이 지정되지 않았습니다. [Config] 섹션의 Trayicon directoives에서 트레이 아이콘을 지정하십시오.

내가해야 할 일. WAMPServer를로드하지 않아도됩니다.

+0

필요한 모든 Microsoft C++ 런타임 라이브러리가 있는지 확인 했습니까? http://stackoverflow.com/questions/26011072/msvcr110-dll-is-missing-from-your-computer/26013219#26013219 – RiggsFolly

답변

5

나는 같은 오류가 발생하기도하고 수정 사항이 너무 간단합니다.

설치 한 wamp 서버 버전을 기록해 두십시오.

수정 :

  1. 는 C에서 현재 WAMP 폴더의 이름을 바꿉니다/WAMP는
  2. 는 C에서 동일한 WAMP의 새로운 인스턴스를 설치 wamp2하기 :
  3. 복사 wampmanager INI 파일에서 드라이브 이전 폴더로 (/ WAMP C) 새 설치 (C :/wamp2)
  4. 는 WAMP하는
  5. 이 wamp2에서 이전 폴더의 이름을 바꿉니다 새로운 WAMP 폴더를 삭제
  6. wamp 서버를 시작하고 마법을 봅니다.

고마워!

-2

비슷한 문제가 발생하여 수정되었습니다. WAMP 서버 설치에서 wampmanager.ini 파일 이름을 검색하고 파일 내용을 다음 내용으로 바꾸면됩니다. 올바른 디렉토리 경로를 지정하십시오.

[Config] 
ImageList=images_off.bmp 
ServiceCheckInterval=1 
ServiceGlyphRunning=13 
ServiceGlyphPaused=14 
ServiceGlyphStopped=15 
TrayIconAllRunning=16 
TrayIconSomeRunning=17 
TrayIconNoneRunning=18 
ID={wampserver} 
AboutHeader=WAMP5 
AboutVersion=Version 2.2 

[AboutText] 
WampServer Version 2.2 

Maintainer/Upgrade/Roadmap by Herve Leclerc ([email protected]) 

Powered by Alter Way [www.alterway.fr] 

Sources are available at SourceForge 

[www.wampserver.com] 

[Services] 
Name: wampapache 
Name: wampmysqld 

[Messages] 
AllRunningHint=WAMP5 - All services running - server Offline 
SomeRunningHint=WAMP5 - %n of %t services running - server Offline 
NoneRunningHint=WAMP5 - None of %t services running - server Offline 

[StartupAction] 
Action: run; FileName: "c:/wamp/bin/php/php5.4.3/php-win.exe";Parameters: "refresh.php";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated 
Action: resetservices 
Action: readconfig; 
Action: service; Service: wampapache; ServiceAction: startresume; Flags: ignoreerrors 
Action: service; Service: wampmysqld; ServiceAction: startresume; Flags: ignoreerrors 
6

문제는 wampmanager.ini에 있습니다. 그래서 다음과 같은 코드를 추가하는 것은 PHP-win.exe에 올바른 경로를 추가

[Config] 
ImageList=images_off.bmp 
ServiceCheckInterval=1 
ServiceGlyphRunning=13 
ServiceGlyphPaused=14 
ServiceGlyphStopped=15 
TrayIconAllRunning=16 
TrayIconSomeRunning=17 
TrayIconNoneRunning=18 
ID={wampserver} 
AboutHeader=WAMP5 
AboutVersion=Version 2.2 

[AboutText] 
WampServer Version 2.2 

Maintainer/Upgrade/Roadmap by Herve Leclerc ([email protected]) 

Powered by Alter Way [www.alterway.fr] 

Sources are available at SourceForge 

[www.wampserver.com] 

[Services] 
Name: wampapache 
Name: wampmysqld 

[Messages] 
AllRunningHint=WAMP5 - All services running - server Offline 
SomeRunningHint=WAMP5 - %n of %t services running - server Offline 
NoneRunningHint=WAMP5 - None of %t services running - server Offline 

[StartupAction] 
Action: run; FileName: "c:/wamp/bin/php/php5.5.12/php-win.exe";Parameters: "refresh.php";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated 
Action: resetservices 
Action: readconfig; 
Action: service; Service: wampapache; ServiceAction: startresume; Flags: ignoreerrors 
Action: service; Service: wampmysqld; ServiceAction: startresume; Flags: ignoreerrors 

를 작동하는지 확인은 위의 파일이 비어있는 경우. (php5.5.12를 설치된 버전으로 변경하십시오.)

0

먼저 c : \ wamp 폴더의 모든 폴더를 백업 한 다음 wamp를 다시 설치하십시오. wampmanager.exe 및 wampmanager.conf 파일을 c : \ wamp 파일 (Files from Backup)에서 c : \ wamp 폴더로 복사하십시오. 기존 파일을 바꿀 것인지 묻는 메시지가 나타납니다. 그런 다음 WAMP 서버를 시작하십시오. 문제가 해결되었습니다.

이렇게하면 프로젝트 파일이 손실되지 않습니다. WAMP에

17
  • 이동/스크립트 폴더
  • 열기 콘솔
  • 실행 :. 이것은 다시해야 php refresh.php

wampmanager.ini (WAMP 폴더에 wampmanager.tpl 파일이 필요합니다

촬영지 : http://sourceforge.net/p/wampserver/feature-requests/10/#750b)

wampserver 2.4에서만 테스트되었습니다.

가에서 답변 : How to repair wamp server without re-installing?

+2

도 나를 위해 일합니다. – Guihgo

+1

이것은 2018이며, 여전히 저에게 효과적입니다. 고마워. – NaijaProgrammer

1

가장 쉬운 방법은 (당신이 여분의 파티션 외장 드라이브를 사용하지 않은 경우) 다른 파티션에 동일한 폴더 구조와에 WAMP의 동일한 버전을 설치하는 것입니다 . 예를 들어, 오류가 발생한 현재 WAMP가 C:/wamp64 인 경우 D:/wamp64에 중복을 설치하십시오.

는 복사 프로세스 후, 새 설치에서 wampmanager.ini의 내용과는 이전 설치의 wampmanager.ini ( 메모장으로 파일을 열고 기존의 물건을 삭제하고 복사 된 내용으로 교체)로 대체합니다.

그런 다음 드라이브 문자를 이전 드라이브 문자 (예 : D:/wamp64 : C:/wamp64)로 바꾸고 파일을 저장하십시오. (이 편지를 바꾸려면 두 줄이 필요합니다).

그게 전부입니다. 당신은 준비가 잘되어 있습니다.

즐기세요!

wamp64 버전 3.0으로 테스트하여 정상적으로 작동합니다.

3

Windows 업데이트 후 나에게도 동일한 일이 발생했습니다. 위의 해결책 중 일부는 나를 위해 (2017 현재) 일한 적이 없지만 Wamp를 다시 설치하지 않고 해결 한 방법이 있습니다.

WampServer's repo으로 이동하여 "도구"로 스크롤하고 wampmanager.ini repair을 다운로드하십시오. .exe를 실행하고 wampini_repair.bat를 열면 금이됩니다!