Site saves index.php file rather than opening it into localserver WAMP

前端 未结 5 1268
我在风中等你
我在风中等你 2020-12-19 16:48

I have a website on a WAMP server. When I launch the website´s folder, it tries to save the index.php file rather than displaying the generated page in the web browser. What

5条回答
  •  攒了一身酷
    2020-12-19 17:22

    You haven't enabled .htaccess file and when you access the site then it doesn't redirect request to index.php. Rename .htaccess.sample to .htaccess and issue will resolve.

提交回复
热议问题