PHP:Internal Server Error using WAMP (at startup)

MikMark picture MikMark · Aug 22, 2010 · Viewed 58.2k times · Source

i had a problem wth php.It display error like below. It work well in other computer, but when i tried to run it in another computer it display error like below. I think i had a problem with my wampserver 2.0 configuration.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.

Answer

Aslam picture Aslam · Jan 24, 2012

Its due to mod_rewrite. WAMP had commented this option by default.

You need to go to WAMP icon in notification area, Apache, httpd.config

search for mod_rewrite, and uncomment it.

After that RESTART WAMP AND YOU ARE DONE!