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?
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
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
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.
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.
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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now