0

I'm trying to get the hello world program to run on my school's remote server but its not showing anything and coming back with errors

<!DOCTYPE html>
<html>
<body>

<h1>My first PHP page</h1>

<?php
echo "Hello World!";
?>

</body>
</html> 

That's the code and the errors the server keeps sending back are ./hello.php: line 1: syntax error near unexpected token newline' and ./hello.php: line 1:' This server runs linux and perl. Why won't the server run this program?

masral
  • 69
  • 5

0 Answers0