Search code examples
lampubuntu-10.04

how to start work in LAMP server in ubuntu 10.04


I have installed ubuntu 10.04 recently and installed LAMP server following some tutorials, when i type localhost in firefox it shows Apache is working. problem is i don't know how to set up a php project in LAMP, basically i don't know how to start work using LAMP. i have experience with wamp where it has a www folder for working, how should i get started here. please give me some instructions, and guidelines if possible tutorial links for this!

your help will be very valuble to me, because i'm planning to move to Ubuntu from windows,it's bit hard !


Solution

  • Create a file in /var/www called index.php and put the following code in it.

     <?php 
     Print "Hello, World!";
     ?>