Apache installiert, aber nix wird angezeigt?

Ganjero

Romantiker
ID: 136977
L
27 Juni 2006
1.323
39
Moin,

Ich habe mir apache als webserver installiert und auch das tutorial auf php-einfach.de angefangen. Das Problem ist nur, dass mozilla firefox nicht mal das einfachste "Hallo"-php Dokument anzeigt. Immer nur weiß.... phpinfo.php hat eigentlich geklappt.

mfg
 
Meine Kristallkugel is letzte Woche leider kaputt gegangen. :-?

Das Problem ist nur, dass mozilla firefox nicht mal das einfachste "Hallo"-php Dokument anzeigt. Immer nur weiß....
Hast du die Datei ins richtige Verzeichnis (DocumentRoot) gelegt?
Hat sie die richtige Endung, .php?
Wie sieht diese "Hallo.php" aus?
...

... phpinfo.php hat eigentlich geklappt.
Was heißt hier "eigentlich"? Wurde sie angezeigt oder nicht?
 
Meine Kristallkugel is letzte Woche leider kaputt gegangen. :-?


Hast du die Datei ins richtige Verzeichnis (DocumentRoot) gelegt?
Hat sie die richtige Endung, .php?
Wie sieht diese "Hallo.php" aus?
...

Was heißt hier "eigentlich"? Wurde sie angezeigt oder nicht?

Wurde richtig angezeigt. hallo.php habe ich gemacht. inhalt steht oben. documentroot?
 
einfach rechtsklick, öffnen mit firefox/internet explorer...

stehen tut dann da :

file:///C:/Programme/xampp/htdocs/hallo.php
 
Resource not found
This is a sample customized error message.

The following tags are supported:

* %c inserts the error code (i.e. 404)
* %r inserts the error reason (i.e. Resource not found)
* %r inserts the server version (i.e. OmniSecure/3.0a5)
* %e inserts the administration email address (i.e. <your@email.here>)
* %% inserts a percent sign (i.e. %)

If you are a Javascript master, it should be pretty easy to use conditionals to make customized screens for different error codes. Note that SSI directives are not processed in the error template. You can find this file, ERROR.TEMP, in your executable directory (default is C:\HTTPD)
 
Wie sieht denn diese "localhost-Seite" aus?
Was gibt die phpinfo.php als DocumentRoot an?
Liegt deine hallo.php neben der phpinfo.php?
 
Wie wäre es dann mit der Suche von Wintendo? :think:
Einfach mal nach "phpinfo.php" suchen lassen ...
 
such doch mal nach der datei phpinfo.php mit der windows suchfunktion dann weist du auch wo dein document root ist

ups No5251 hab deinen Beitrag übersehen soory für dp