Hi, I just installed apache server on my local machine. I executed the following command for that:
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
However, if I put my test.php file in /var/www and open it with my browser I see nothing (I supposed to see "Hello, world!").
If I put test.txt file in this directory with "Hello". I see "Hello" in my browser. My PHP file contains the following.
<?php
print "Hellow, World";
?>
If I open this file with browser I see nothing (no error messages). May be the reason is that before I force browser to open php files by /user/bin/php? How can I remove this setting?