Re: Newbie Question.
| From: | Ethan Schroeder | Date: | Sat, 12 May 2001 18:52:23 +0000 |
| Subject: | Re: Newbie Question. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52572@lists.php.net to get a copy of this message | ||
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" <devns@earthlink.net>
To: <php-general@lists.php.net>
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>