Hey there, trying to learn php. sorry for the newbie-ness of this one, but i have a ver simple php script that i cannot get past premature ending of script headers in
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>test</title>
</head>
<body>
<?php
// Hello World in PHP
echo 'Hello World!';
?>
</body>
</html>
i have tried from the web_root and from cgi-bin , which i really believe to be set up correctly because i have python cgi scripts that work.
just cannot get the php stuff to go. i use debian linux. and i have phpmyadmin installed and it seems to be working fine. but it is located in /usr/share/phpmyadmin not any cgi-bin folder
i just dont get it.
what am i doing wrong?
thanks.