petergehrig
12-19-01, 01:05 AM
I saved the following 5 lines as test.php:
#!/usr/local/bin/php
<html><head><title>PHP Test</title></head>
<body>
<?php echo "Hello World<p>"; ?>
</body></html>
Then I put test.php into my htdocs directory.
Then I set test.php to chrmod 755.
Then I tried to view it at http://www.freedone.com/test.php
Then I got a 500 Internal Server Error.
Question: What did I wrong???
Thanks a lot!
Peter
#!/usr/local/bin/php
<html><head><title>PHP Test</title></head>
<body>
<?php echo "Hello World<p>"; ?>
</body></html>
Then I put test.php into my htdocs directory.
Then I set test.php to chrmod 755.
Then I tried to view it at http://www.freedone.com/test.php
Then I got a 500 Internal Server Error.
Question: What did I wrong???
Thanks a lot!
Peter