Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wamp server startup error "-can not startup [Ephase error]"

Tags:

php

wamp

After I download the WAMP Server, a windows pop out stating:

The configuration file contains a syntax error on line 1235;[EParseError]parameter "service "specifies an unknown service .

I have no idea what type of this problem. Did anyone facing this type of problem? How can I solve this type of problem?

like image 475
KAREN Avatar asked May 14 '14 04:05

KAREN


Video Answer


1 Answers

If you're installing WAMP 2.5 and above, you have to make sure that you uninstall any previous version first. Backup your www folder, php.ini, my.ini and httpd-vhosts.conf files.

Then try follow these steps in order to remove the old services:

  1. Launch WAMP server, disregard that it doesn't light green.
  2. Click on the tray icon, then: Stop All Services.
  3. Tray icon -> Apache -> Service -> Remove Service
  4. Tray icon -> MySQL -> Service -> Remove Service

Run command prompt (cmd.exe) and execute the following commands:

sc delete wampapache

sc delete wampmysqld

Then perfom these steps:

  1. Tray icon -> Apache -> Service -> Install Service
  2. Tray icon -> MySQL -> Service -> Install Service

Also make sure you're running WAMP Apache and MySQL server (each setting can be found in corresponding ini file) on other ports if your default port 80 is used for another server and 3306 is used for another database server.

like image 173
silkfire Avatar answered Oct 06 '22 18:10

silkfire