I have followed a guide on how to install Apache, MySQL, and PHP on my laptop running Linux (Ubuntu 10.4) It appears I have it installed correctly but when I am not sure. I followed this guide here: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
When I go to localhost I in fact see the Apache info page that confirms it installed. Screenshot: http://i.imgur.com/Lv8GDYi.png
I ran and installed the following in this order:
sudo apt-get install apache2 sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql sudo mysql_install_db sudo /usr/bin/mysql_secure_installation sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt sudo nano /etc/apache2/mods-enabled/dir.conf (I added index.php to the beginning)
Lastly, and where my issues currently is, I ran:
sudo nano /var/www/info.php
and made a simple php file to give me the phpinfo
When I navigate to localhost/info.php in browser I get an error on the page
Not found: The requested URL /info.php was not found on this server.
What have I done wrong?