cannot run php within html
| From: | Roger Pang | Date: | Fri, 12 Oct 2001 06:31:23 +0000 |
| Subject: | cannot run php within html | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4609@lists.php.net to get a copy of this message | ||
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.