Php fil kan tolkes men indekseres kun i browser
Hej ExperterJeg har installeret php og apache på en windows maskine. Min apacheserver kører fint og jeg kan også godt få tolket mit php kode.
Problemet ligger bare i at jeg har lagt en index.php i mit dir. Denne åbnes ikke når jeg skriver 127.0.0.1 ind i min broser. Der kommer blot et indeks, hvor index.php vises. Når jeg så trykker på filen åbnes og tolkes denne.
min httpd.conf har jeg tilføjet
LoadModule php5_module "c:/PHP/php5apache2.dll"
Addhandler application/x-httpd-php .php
Action application/x-httpd-php \"/PHP/php.exe\"
ScriptAlias /php/ \"c:/php/\"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
Glæder mig til et hurtigt svar.
