Something is wrong with the XAMPP installation :-(

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Something is wrong with the XAMPP installation :-(

Postby fincomix » 07. June 2010 22:49

I've just installed XAMPP verson 1.7.3, in Vista .....html files are working, but PHP files aren't. I went to index.php (the one included) and it says:

Something is wrong with the XAMPP installation :-(

and i can not find the config file.

could someone please help me out here .
fincomix
 
Posts: 3
Joined: 07. June 2010 22:42

Re: Something is wrong with the XAMPP installation :-(

Postby Altrea » 07. June 2010 23:23

How do you open the php-file?
what url is standing in your browser address bar?
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: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Something is wrong with the XAMPP installation :-(

Postby cyberfred » 08. June 2010 00:03

Hello,

you have to open the php files threw localhost way:

Http://localhost/specific_folder/file.php

htdocs is the défault folder. You can add a specific folder in the default one.

i just wondering if we can change this default folder ?
Last edited by cyberfred on 08. June 2010 10:50, edited 2 times in total.
cyberfred
 
Posts: 1
Joined: 07. June 2010 23:36

Re: Something is wrong with the XAMPP installation :-(

Postby fincomix » 08. June 2010 00:23

Altrea wrote:How do you open the php-file?
what url is standing in your browser address bar?


I open it with firefox
fincomix
 
Posts: 3
Joined: 07. June 2010 22:42

Re: Something is wrong with the XAMPP installation :-(

Postby Altrea » 08. June 2010 01:20

fincomix wrote:
Altrea wrote:How do you open the php-file?
what url is standing in your browser address bar?


I open it with firefox

PHP is a script language interpreted by a webserver.
To parse PHP-files you had to access them in a specific way. You had to use the http-protocol.

That means:
double click to open PHP files doesn't work!
Open the file directly in your browser with your local path doesn't work!
You had to open the file in your Browser with an url.

http://localhost/ directly routes to your htdocs folder (e.g. C:\xampp\htdocs) - Your Apache does the magic so be sure your Apache is started.
If you had a path C:\xampp\htdocs\folderxy\file.php you had to type in the url http://localhost/folderxy/file.php to access the file.


cyberfred wrote:i just wondering if we can change this default folder ?

Sure.
But you should open your own thread
or even better try the forum search for "DocumentRoot"
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: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 6 guests