Need help installing PHP.
| From: | John Clark | Date: | Thu, 25 Apr 2002 22:17:15 +0000 |
| Subject: | Need help installing PHP. | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6741@lists.php.net to get a copy of this message | ||
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 .phpas well. When I do the following example: <?php echo "hello world<p>"; ?> All my browser gets is the garbled text of: "; ?>