Change php Version in Lighttpd


i want to use the app Passwords in my NC15 but for that i need php7.2 at least. I Upgraded my php Version from 7.0 to 7.2 but NC/lighttpd still use 7.0. What i have to do to force NC to use the newer version?


This depends on the configuration of your lighttpd. You may have to install php7.2-fpm or php7.2-cgi and check the configuration of your server so that it uses the correct PHP socket.

Hi mdw,

i checked /etc/lighttpd/conf-available/15-fastcgi-php.conf , installed the named packages and tried to change

“socket” => “/var/run/php/php7.0-fpm.sock”,


"socket" => "/var/run/php/php7.2-fpm.sock",

but then i get this Error:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.