I have installed/setup PHP5 and Apache2 server on Ubuntu and trying to deploy a dummy project on it.

The server is up and running.but the URL http://localhost/DemoWebApp gives me
Apache/2.4.7 (Ubuntu) Server at localhost Port 80.

What am I doing wrong or how do I set it up correctly?
Project structure:

move DemoWebApp into html folder and it should work
Set DocumentRoot in /etc/httpd/httpd.conf to /var/www or move DemoApp folder to /var/www/html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With