22. juni 2002 - 18:36Der er
15 kommentarer og 1 løsning
Apache
Jeg har netop installeret Apache, men når jeg trykker 127.0.0.1/minfil.php så begynder den at downloade. Og så siger den at filen ikke kan findes. Hvad kan der være galt?
i http.cnf eller en af dine andre .cnf filer til apache skal du have:
ScriptAlias /php4/ e:/progs/apachestuff/apache/php/ # ræt stien til din egen sti til filen php.exe AddType application/x-httpd-php4 .php Addhandler application/x-httpd-php4 .php Action application/x-httpd-php3 /php4/php.exe # nu peger endelsen .php på php.exe
AddType application/x-httpd-php4 .php4 Addhandler application/x-httpd-php4 .php4 Action application/x-httpd-php4 /php4/php.exe # nu peger endelsen .php4 på php.exe
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.