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

前端 未结 5 1276
我在风中等你
我在风中等你 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:00

    You have to call the page from your browser, e.g. http://localhost/index.php. Opening it in the browser from your filesystem just opens it as text.

提交回复
热议问题