This is my first time trying PHP out but whenever I'm saving the file as a .php file it is not opening the file. It is just showing the code. This is the code. When I save it as an html file it shows the tag but not the php.
<!DOCTYPE html>
<html>
<body>
<h1>My first PHP page</h1>
<?php
echo "Hello World!";
?>
If you can help me that would be great. Thanks