PHP:Internal Server Error using WAMP (at startup)

后端 未结 9 1052
一向
一向 2021-02-01 07:29

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

相关标签:
9条回答
  • 2021-02-01 07:50

    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.

    0 讨论(0)
  • 2021-02-01 07:51

    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!

    0 讨论(0)
  • 2021-02-01 07:54

    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.

    0 讨论(0)
提交回复
热议问题