[Solved] Parsing html as php on lighty

HI All,

Whats the minimum I need to parse php snippets within html on out of the box DietPi / Lighty?

In my lighty.conf file I have tried ;

Mapping html to php
fastcgi.map-extensions = ( “.html” => “.php” )

Commenting out

compress.cache-dir = “/tmp/lighttpd/cache/compress/”

compress.filetype = (“text/plain”, “text/html”)

And adding “mod_fastcgi”, to the modules list

Have ended up with ‘Access Denied’ so reverted back to the original!

Any tips?


Solved here;