I have used lots of time to make php work on ubuntu without a success. I used NetBeans I have follow this link http://www.netbeans.org/kb/docs/php/configure-php-environment-ubuntu.html then create a little project when I run my browser point to
http://localhost/PhpProject1/index.php I always get the error 404 Not Found
thanks