rvandyke Posted November 4, 2020 Report Share Posted November 4, 2020 Hello, I am having trouble using php. I downloaded the MAMP and its telling me sql and apache server is running and I try to type in my php page after the local host in the address bar , but it keeps telling me page not found on the sever. I made sure to save the code page in the htdocs ...... what could be the problem here? thank you, Ryan Quote Link to comment Share on other sites More sharing options...
laserbeak Posted November 4, 2020 Report Share Posted November 4, 2020 Does the default homepage work when you click 'Open WebStart Page'? Quote Link to comment Share on other sites More sharing options...
rvandyke Posted November 4, 2020 Author Report Share Posted November 4, 2020 yes it does! works fine. It's just when I write some new code and try to type in the name of my code page it doesnt seem to work. Quote Link to comment Share on other sites More sharing options...
laserbeak Posted November 5, 2020 Report Share Posted November 5, 2020 Ok cool You also seem certain that the url and paths match up, but just to rule it out, Can you copypaste the url from your webrowser and the exact path from the root of you mac? (right click hold alt and then choose copy as pathname) Also, in your MAMP settings, which folder is set as your root for the websites? Also copypaste exact path here. Which exact error are you getting? Whats really helpful is a screenshot of the full screen when the error shows. 1 Quote Link to comment Share on other sites More sharing options...
rvandyke Posted November 5, 2020 Author Report Share Posted November 5, 2020 Hey! thanks for your help ! got it to work! Newb error lol. Quote Link to comment Share on other sites More sharing options...
laserbeak Posted November 9, 2020 Report Share Posted November 9, 2020 You're welcome. What was the thing that fixed it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.