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
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.
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!
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.