Il Portale Tecnologico

Xampp Inserire codice php in pagine html

Aprire il file httpd.conf ed aggiungere il seguente codice appena dopo un </IfModule>:

 

<FilesMatch “\.html$”>
SetHandler application/x-httpd-php
</FilesMatch>