Hey everyone, I'm new to PHP and I'm trying to setup a project locally with Netbeans on mac. I have used MAMP to setup my apache server and I test it and the server is running. However when trying to run my simple hello world PHP project I get a 404 not found:
Current URL used for project: http:/localhost/PhpProject1/index.php
Error: The requested URL
/PhpProject1/index.php
was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
My project is found under: /Applications/MAMP/dtdocs/PhpProject1/
Dir Tree for www: MAMP>htdocs>PhpProject1>index.php