Try renaming your file test.php It works from the command line because you are invoking php directly, but apache doesn't pass html files to the php module.
-----Original Message----- From: John Clark [mailto:[EMAIL PROTECTED]] Sent: Friday, 26 April 2002 06:17 To: [EMAIL PROTECTED] Subject: Need help installing PHP. I have downloaded and installed php-4.2.0 and apache 1.3.24. With php configure and commands: ./configure --with-apxs=/usr/local/apache/bin/apxs make install I see that everything completes. However when I load my test html file: <html> <head> </head> <body> test<p> <?phpinfo()?> </body> </html> I see the one text 'test' print, but nothing of the <?phpinfo()?> When I run: php test.html >x.html and then access x.html from my browser, I see a table of info. What do I have to do to apache to get it to process the php tags correctly. I've added the: AddType application/x-httpd-php .php as well. When I do the following example: <?php echo "hello world<p>"; ?> All my browser gets is the garbled text of: "; ?>