In your apache conf, make sure you have something similar to:
AddType application/x-httpd-php .php .phtml .inc
If you don't, add it and restart apache.
----- Original Message -----
From: "Raven" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 12, 2001 12:04 PM
Subject: [PHP] Newbie Question.
> Hello to all.
>
> This is probably the most basic question of th PHP general list. I just
> installed PHP 4.0.5 on Apache 1.2.19.
>
> Could someone please explain a very basic test.
>
> I would like to write a "Hello World" page as a test.
>
> I have tried the following: And named the page: index.php and index.html
>
> <html>
> <head>
> <title>PHP Testing Ground</title>
> <body>
> <?php echo "Hello World"; ?>
> </body>
> </html>
>
> index.php - Displays the html code
> index.html - displays blank - exept I see the title: PHP Testing Ground in
> the title header of the browser. So the pages are loading.
>
> Help? How do I test this to see that Apache is configured correctly.
>
> PS: I followed the PHP Manual instructions for installing PHP on php.net.
> Apache reported setting up correctly after running make install.
>
> Any help would be appreciated.
> Thanks in advance,
> Tom Bedell
> Newbie
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]