Re: newbie php tutorial question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

<?php
phpinfo();
?>

On 10/2/06, Stut <stuttle@xxxxxxxxx> 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!!!

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux