XAMPP ran fine for an hour - stopped working

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP ran fine for an hour - stopped working

Postby JoeKC » 09. January 2017 12:26

Hello,

I downloaded v3.2.2 and installed using windows 10. Also installed Notepad++. Ran through a PHP tutorial and saved the page to XAMPP folder, compiled and ran them perfectly. Now, when I try to access the .php page, it prints the code, rather than compiles it.

Did I accidentally change a setting or what might have happened?

I have completely re-installed BOTH the XAMPP and the Notepad++ ...... still have same result!
Please help. Thanks.
JoeKC
 
Posts: 2
Joined: 09. January 2017 12:17
XAMPP version: v3.2.2
Operating System: windows 10

Re: XAMPP ran fine for an hour - stopped working

Postby Altrea » 09. January 2017 20:17

Hi,

Did you open the file by doubleclick?
Or how do you open the file in your browser?

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8849
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: XAMPP ran fine for an hour - stopped working

Postby JoeKC » 10. January 2017 15:12

XAMPP is running fine. Somehow the browser link changed from "localhost/programname.php" to something like "files/////c:/... ". Not sure how that happened.
So for several hours I was trying to fix a problem, but it was just the link in the browser to the file! Might be instructive to other new users.

If XAMPP doesn't appear to be working:
1. Make sure to click "Start" for Apache on the panel (and MYSQL if using it)
2. Save your PHP files in the XAMPP/htdocs folder.
3. Put your graphics folder in XAMPP/htdocs also. PHP code to access the art files: ".\artfoldername\artpic.png" (note the decimal point)
JoeKC
 
Posts: 2
Joined: 09. January 2017 12:17
XAMPP version: v3.2.2
Operating System: windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests