Could not display a PHP file
| From: | Joseph Lee | Date: | Fri, 08 Jul 2005 05:19:15 +0000 |
| Subject: | Could not display a PHP file | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-16459@lists.php.net to get a copy of this message | ||
Hello,
I installed PHP5 and MySQL on my Linux machine running
Apache web server. I could access this server from
another computer by http://(hostname)/index.html
Then I created a simple hello.php file:
<html>
....
<?php echo "hello" ?>
....
</html>
But when I tried http://(hostname)/hello.php from
another computer, it just displayed this original text
file, not "hello" in a browser.
Is it an installation problem? How can I check it?
Thanks,
Joe
____________________________________________________
Sell on Yahoo! Auctions no fees. Bid on great items.
http://auctions.yahoo.com/