Cody Posted November 21, 2018 Report Posted November 21, 2018 Using XAMPP, I have placed the file in htdocs, but when trying to open there isn't a browser option. The default is my code editor, so it just returns the code instead of running the code and displaying the result.Any suggestions? Quote
administrator Posted November 21, 2018 Report Posted November 21, 2018 You have to type in the XAMPP local URL. So if you created an index.php page, it would be: http://localhost/index.php Quote
markporo Posted March 27, 2019 Report Posted March 27, 2019 HI I am having issues with this too. I have created a URL with XAMPP fully installed and I cannot get it to work. The page gives me "this site can not be reached." In XAMPP the local server is enabled, I've hit mount to explore the root folder, and the services have all been started, but nothing seems to work like I have seen in videos online or in forums. I have tried a couple alternatives including MAMP as well as using terminal to use a local host. (I am on a mac). I've spent hours trying to figure out how to just test the php code. I'm not sure what's going wrong. Any suggestions or alternatives would be greatly appreciated. It's hard to follow along with the php course without having this working. Thanks. -Mark Quote
administrator Posted March 27, 2019 Report Posted March 27, 2019 Hi, Be sure you don't have another web server running on the same port. Quote
markporo Posted March 28, 2019 Report Posted March 28, 2019 How would I check for that? Only one server apps is running if that is what you mean. Quote
administrator Posted February 25, 2020 Report Posted February 25, 2020 Oops ... I missed this question. My apologies. I assume by now you figured it out. Stef Quote
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.