Something is wrong with the xxamp installation?

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

Something is wrong with the xxamp installation?

Postby TheMidnightWar » 12. January 2018 20:58

I got this when i opened my index.php in htdocs
Something is wrong with the XAMPP installation :-(

is it suppose to look like this
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/dashboard/');
exit;
?>
Something is wrong with the XAMPP installation :-(
TheMidnightWar
 
Posts: 7
Joined: 10. January 2018 00:57
XAMPP version: 3.3.0
Operating System: Windows 10

Re: Something is wrong with the xxamp installation?

Postby Altrea » 12. January 2018 22:02

Yes
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: 9768
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Something is wrong with the xxamp installation?

Postby Nobbie » 12. January 2018 22:12

TheMidnightWar wrote:I got this when i opened my index.php in htdocs


And how did you do this? Am i right, you simply double clicked index.php in your explorer? If "yes", it is totally wrong. Instead enter "http://localhost" into your browser and see, what happens.
Nobbie
 
Posts: 11093
Joined: 09. March 2008 13:04

Re: Something is wrong with the xxamp installation?

Postby TheMidnightWar » 12. January 2018 23:01

I opened the file with notepad++.
TheMidnightWar
 
Posts: 7
Joined: 10. January 2018 00:57
XAMPP version: 3.3.0
Operating System: Windows 10

Re: Something is wrong with the xxamp installation?

Postby TheMidnightWar » 12. January 2018 23:02

Nobbie wrote:
TheMidnightWar wrote:I got this when i opened my index.php in htdocs


And how did you do this? Am i right, you simply double clicked index.php in your explorer? If "yes", it is totally wrong. Instead enter "http://localhost" into your browser and see, what happens.


http://localhost/dashboard/
Brings me to welcome XXAMP.
TheMidnightWar
 
Posts: 7
Joined: 10. January 2018 00:57
XAMPP version: 3.3.0
Operating System: Windows 10

Re: Something is wrong with the xxamp installation?

Postby Nobbie » 13. January 2018 00:34

Perfectly fine.
Nobbie
 
Posts: 11093
Joined: 09. March 2008 13:04

Re: Something is wrong with the xxamp installation?

Postby TheMidnightWar » 18. February 2019 18:08

Altrea wrote:Yes

When I watch a video on this there's don't say that message
TheMidnightWar
 
Posts: 7
Joined: 10. January 2018 00:57
XAMPP version: 3.3.0
Operating System: Windows 10

Re: Something is wrong with the xxamp installation?

Postby Altrea » 18. February 2019 19:05

Because the video is years old?
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: 9768
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Something is wrong with the xxamp installation?

Postby TheMidnightWar » 18. February 2019 19:09

Can you give me a updated tutorial? All I need to know is after I set localhost to localhost:8852 how do I add a custom domain. I want it to be public for only my discord to access
TheMidnightWar
 
Posts: 7
Joined: 10. January 2018 00:57
XAMPP version: 3.3.0
Operating System: Windows 10

Re: Something is wrong with the xxamp installation?

Postby Altrea » 18. February 2019 19:31

We don't provide such help because XAMPP is not made for public accessible environments.
Read more about that in the forum rules viewtopic.php?f=16&t=67782#p232732 {section: scope of support)
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: 9768
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 106 guests