wampServer 启动报错

来源:互联网 发布:阿里云搭建ss教程 编辑:程序博客网 时间:2024/06/18 15:23

背景

  • 今天,电脑开机提示系统修复重启,再开机发现 wampServer 不能正常启动
  • 报错信息如下:
The configuration file contains a syntax error on line 0:    [EParseError] No tray icon was specified. Plesase assign a tray icon by using one of the Traylcon* directives in the [Config] section

解决方案:

方案一(以 windows 系统为例)

  1. cmd 命令进入 wamp / scripts 文件夹
  2. 运行命令:php refresh.php

方案二 (此方法未测)

  1. 将原来的 wamp 文件夹重命名为 X(例如:wampX)
  2. 重新安装 wamp,并将新的 wamp 文件夹中的 wampmanager.ini 文件复制到 X(wampX)下
  3. 重启 wamp

附录:

  • 参考文章:Wamp服务器启动错误