Also... ich habe eine Datei geschrieben, mit der Endung .phtml...
Inhalt:
<html><body>
blablabla
<?php phpinfo(); ?>
keine PHP ausgabe!
</body></html>
Wenn ich die öffne, müsste eigentlich folgendes da stehen:
blablabla
dann alle PHP informationen
dann keine PHP ausgabe!
Dann kommt ein Datei herunterladen Fenster...
benenne ich die phtml zu pthml um:
zieht der Server sich keine PHP informationen zeigt aber alles andere an!
Hier nochmal mein PHP Konfig auszug aus der HTTPD.CONF (hat sich einiges geändert)
#PHP4 Konfig
LoadModule php4_module z:/etc/Apache/Apache/modules/php4apache.dll
AddModule mod_php4.c
Action application/x-httpd-php "/php/php.exe"
Action application/x-httpd-php3 "/php/php.exe"
Action application/x-httpd-php4 "/php/php.exe"
AddHandler application/x-httpd-php "z:/etc/php/php.exe"
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .phtml
ScriptAlias /php/ "z:/home/php/"
... der Scriptalias steht immer noch im vhost...
MfG UPR2000