Jeżeli masz apache to w pliku konfiguracyjnym musisz mieć coś takiego
Kod
<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.php3
</IfModule>
ScriptAlias /php/ "C:/usr/php/"
AddType application/x-httpd-php .php .php4 .php3 .html .htm
Action application/x-httpd-php "/php/php.exe"
AddType application/x-tar .tgz
AddType text/html .shtml
AddHandler server-parsed .shtml
jeżeli nie masz tam rozszerzeń html i htm to je dopisz tak jak wyżej pokazane :idea: