PHP:Internal Server Error using WAMP (at startup)

Viewed 63875

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.

10 Answers

I had this problem but the rewrite module was already enabled. There is a header command in the shops .htaccess file that was causing it. Enabling the headers_module in apache fixed it. Thought this might help someone.

For anyone finding this question, and mod_rewrite is ALREADY enabled...

Check that WAMP hasn't put an unwanted .htaccess file in the root of the C:\ drive.

This happened to me, I think after experimenting with different settings in the httpd.conf file.

After I'd reverted my httpd.conf settings I started seeing the Internal Server Error. Deleting the .htaccess file fixed the problem.

If you find mod_rewrite already uncommented and still you get the same error. Go and check if the headers_module is enabled or not. For that you can follow below steps.

  1. Left click on wamp icon in the notification area.
  2. Hover to Apache
  3. Hover to Apache Modules
  4. Click on headers_module

Now wait for wamp server to restart and check If it works.

Related