run this bit of code to check if everything is working.

<?php
phpinfo();
?>

On 10/2/06, Stut <[EMAIL PROTECTED]> wrote:

srdaniel wrote:
> I setup Apache 2.2.3.0 and PHP 5.1.6.6.
>
> When I run this PHP file:
>
> ----------------
> <html>
>  <head>
>   <title>PHP Test</title>
>  </head>
>  <body>
>  <?php echo '<p>Hello World</p>'; ?>
>  </body>
> </html>
> ----------------
>
> Any ideas why I get this for output?
>
> ----------------
> Hello World
>
> '; ?>
> ----------------

Apache has not been set up correctly to run this file as PHP. Have a
look at the installation section of the PHP manual - odds are you'll
find the answer there: http://php.net/install

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
GMail Rocks!!!

Reply via email to