Problem mit XAMPP - Vorbetrachtung der lokalen PHP Seite.

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

Problem mit XAMPP - Vorbetrachtung der lokalen PHP Seite.

Postby Basar » 03. April 2008 22:47

Entschuldigen Sie bitte mein schlechtes Deutsches, aber ich könnte nicht ein englisches Forum finden, um an bekanntzugeben. Ich habe ein Problem mit XAMPP. Ich habe XAMPP erfolgreich angebracht und habe eine Web site in PHP mit Dreamweaver verursacht, aber, wenn ich versuche, es anzusehen, nimmt es mich zur XAMPP Seite, die oben kommt, wenn man "localhost" in Firefox schreibt. Sie können auf englisch antworten, wenn Sie es sprechen können:) Danke!
Basar
 
Posts: 4
Joined: 03. April 2008 22:41
Location: Dublin, Ireland

Postby Wiedmann » 03. April 2008 23:04

und habe eine Web site in PHP mit Dreamweaver verursacht,

Moved...

und habe eine Web site in PHP mit Dreamweaver verursacht,

In which directory and with which names have you stored your files?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Basar » 03. April 2008 23:27

Wiedmann wrote:
und habe eine Web site in PHP mit Dreamweaver verursacht,

Moved...

und habe eine Web site in PHP mit Dreamweaver verursacht,

In which directory and with which names have you stored your files?


Thank you! I guess I automatically assumed English forums would be on top. Excuse my ignorance!

I have created a project in Dreamweaver with files saved in My Documents/Project Name/ and the file name is test.php. I set Dreamweaver to use "http://localhost" as the web server and my XAMPP installation is at C:/XAMPP.

Thank you for your help!
Basar
 
Posts: 4
Joined: 03. April 2008 22:41
Location: Dublin, Ireland

Postby Wiedmann » 03. April 2008 23:33

with files saved in My Documents/Project Name/ and the file name is test.php.

The DocumetRoot for the Apache server is "\xampp\htdocs". Put the "test.php" in this directory and you can access it with "http://localhost/test.php".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Basar » 03. April 2008 23:55

Wiedmann wrote:
with files saved in My Documents/Project Name/ and the file name is test.php.

The DocumetRoot for the Apache server is "\xampp\htdocs". Put the "test.php" in this directory and you can access it with "http://localhost/test.php".


Thanks, that worked.

So for every PHP project, I will have to create a folder in "/xampp/htdocs" and save my files there? Since I am working on several projects folders is a necessity. Do I keep the server as "localhost" or "localhost/foldername" ?
Basar
 
Posts: 4
Joined: 03. April 2008 22:41
Location: Dublin, Ireland

Postby Wiedmann » 03. April 2008 23:58

So for every PHP project, I will have to create a folder in "/xampp/htdocs" ... Do I keep the server as "localhost" or "localhost/foldername" ?

With the default confguration you have to use "localhost/foldername".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Basar » 04. April 2008 00:56

Wiedmann wrote:
So for every PHP project, I will have to create a folder in "/xampp/htdocs" ... Do I keep the server as "localhost" or "localhost/foldername" ?

With the default confguration you have to use "localhost/foldername".


Thank you for all the help.
Basar
 
Posts: 4
Joined: 03. April 2008 22:41
Location: Dublin, Ireland


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 61 guests