I'm running Ubuntu and have just installed PHP5, Apache2, and MySQL. I created a PHP Project in Netbeans and trying to echo "Hello World." When I run it, I just get a 404 Not Found error with this "The requested URL /PhpProject1/index.php was not found on this server." Any ideas on what to do?
Recommended Answers
Jump to PostIs it running on localhost?
Have you stored the file under the localhost directory?
E.g. if you used XAMPP, your default localhost directory will be something like:c:\xampp\htdocs\
Also check to see if Apache etc are running.
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.