you have to modify the PHP mime types to allow parsing of html files, although I wouldn't reccommend it..
Roger Pang <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have written the following html called "test.html" in /var/www/html > directory : > <html> > <body> > <?php > phpinfo() > ?> > </body> > </html> > > When I access this html with a browser, nothing displayed. However, when I > renamed it to "test.php", it works. > > Anything wrong ? I am running Red Hat 7.1 and chosen to install everything. > No change on any config files relating to PHP and Apache. > > > > -- PHP Install 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]