I'm trying to enable PHP with the Domoticz webserver. But it's not working.
I've read that you need to supply the argument to the php cgi.
I've installed php7.0 and php7.0-cgi. I've changed the /etc/init.d/domitcz.sh to include the path to php:
But when i put a php file in the www folder i get: 501 Not ImplementedDEAMON_ARGS="$DEAMON_ARGS -php_cgi_path /usr/bin/php7.0-cgi"
I've also try't it with php5, same effect.