Page 1 of 1

Problem mit XAMPP - Vorbetrachtung der lokalen PHP Seite.

PostPosted: 03. April 2008 22:47
by Basar
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!

PostPosted: 03. April 2008 23:04
by Wiedmann
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?

PostPosted: 03. April 2008 23:27
by Basar
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!

PostPosted: 03. April 2008 23:33
by Wiedmann
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".

PostPosted: 03. April 2008 23:55
by Basar
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" ?

PostPosted: 03. April 2008 23:58
by Wiedmann
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".

PostPosted: 04. April 2008 00:56
by Basar
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.