Cody Posted November 21, 2018 Report Share 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 Link to comment Share on other sites More sharing options...
administrator Posted November 21, 2018 Report Share 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 Link to comment Share on other sites More sharing options...
markporo Posted March 27, 2019 Report Share 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 Link to comment Share on other sites More sharing options...
administrator Posted March 27, 2019 Report Share Posted March 27, 2019 Hi, Be sure you don't have another web server running on the same port. Quote Link to comment Share on other sites More sharing options...
markporo Posted March 28, 2019 Report Share Posted March 28, 2019 How would I check for that? Only one server apps is running if that is what you mean. Quote Link to comment Share on other sites More sharing options...
administrator Posted February 25, 2020 Report Share Posted February 25, 2020 Oops ... I missed this question. My apologies. I assume by now you figured it out. Stef 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.