Merowinger
10-08-2006, 16:08
Hallo,
ich habe xampp installiert, läuft alles.
Ich gebe im Browser http://localhost/Suse/gnu/gnu.php ein.
Es erscheint eine leere Seite, obwohl in gnu.php folgendes steht:
<html>
<head></head>
<body>
Hallo Welt
<?php
echo "Hallo noch mal";
?>
</body>
</html>
Ich könnte das auch durch
<html>
<head></head>
<body>
Hallo Welt
<?php
blabla();
?>
</body>
</html>
ersetzten, nichts passiert, nicht mal 'ne Fehlermeldung, dass es die Funktion nicht gibt.
PHP scheint komplett ignoriert zu werden. Warum nur?
nicht mal
<html>
<head></head>
<body>
Hallo Welt
<?php
phpinfo();
?>
</body>
</html>
funktioniert.
Ich weiß beim besten Willen nicht, was ich sonst noch alles einstellen soll. In der Apache-conf hab ich sowohl DocumentRoot als auch Directory richtig eingestellt, die Seiten werden ja auch gefunden, nur eben PHP läuft nicht.
Hab auch die entsprechenden php-Interpreter-Ladebefehle in die conf integriert:
LoadModule php5_module "C:/xampp/xampp/php/php5apache2.dll"
ScriptAlias /php/ "C:/Program Files/xampp/php/"
AddType application/x-httpd-php .php .php5
Action application/x-httpd-php "/php/php-cgi.exe"
SetEnv PHPRC "C:/xampp/xampp/php"
Hilft alles nichts. Ich bin am verzweifeln. Eigentlich sollte doch alles mit xampp ganz einfach sein.
Übrigens habe ich schon xampp zich mal neuinstalliert. Und phpinfo.php funktioniert auch, der selbe Inhalt in gnu.php führt aber dagegen zu nichts (leere Seite).
ich habe xampp installiert, läuft alles.
Ich gebe im Browser http://localhost/Suse/gnu/gnu.php ein.
Es erscheint eine leere Seite, obwohl in gnu.php folgendes steht:
<html>
<head></head>
<body>
Hallo Welt
<?php
echo "Hallo noch mal";
?>
</body>
</html>
Ich könnte das auch durch
<html>
<head></head>
<body>
Hallo Welt
<?php
blabla();
?>
</body>
</html>
ersetzten, nichts passiert, nicht mal 'ne Fehlermeldung, dass es die Funktion nicht gibt.
PHP scheint komplett ignoriert zu werden. Warum nur?
nicht mal
<html>
<head></head>
<body>
Hallo Welt
<?php
phpinfo();
?>
</body>
</html>
funktioniert.
Ich weiß beim besten Willen nicht, was ich sonst noch alles einstellen soll. In der Apache-conf hab ich sowohl DocumentRoot als auch Directory richtig eingestellt, die Seiten werden ja auch gefunden, nur eben PHP läuft nicht.
Hab auch die entsprechenden php-Interpreter-Ladebefehle in die conf integriert:
LoadModule php5_module "C:/xampp/xampp/php/php5apache2.dll"
ScriptAlias /php/ "C:/Program Files/xampp/php/"
AddType application/x-httpd-php .php .php5
Action application/x-httpd-php "/php/php-cgi.exe"
SetEnv PHPRC "C:/xampp/xampp/php"
Hilft alles nichts. Ich bin am verzweifeln. Eigentlich sollte doch alles mit xampp ganz einfach sein.
Übrigens habe ich schon xampp zich mal neuinstalliert. Und phpinfo.php funktioniert auch, der selbe Inhalt in gnu.php führt aber dagegen zu nichts (leere Seite).