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
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.
http://localhost/index.php