the configuration file contains a syntax error on line 0 wamp


i had this error when wamp server’s wampmanager.ini is corrupted.

So i searched google for solution and in few seconds, i got solution for that.

Just what all we need to do is copy and pasting the below code in wampmanager.ini

——————————————————————————————————————-

[Config]
ImageList=images_on.bmp
ServiceCheckInterval=1
ServiceGlyphRunning=13
ServiceGlyphPaused=14
ServiceGlyphStopped=15
TrayIconAllRunning=16
TrayIconSomeRunning=17
TrayIconNoneRunning=18

[Services]
Name: wampapache
Name: wampmysqld

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

———————————————————————————————————————

One thought on “the configuration file contains a syntax error on line 0 wamp

  1. Thanks for the idea man.

    This code did not work for me. I had to copy wampmanager.ini from other working WAMP Folder from Friend’s Laptop, And it worked.

    Thanks

Leave a comment