Setting Up Lighttpd With FastCGI
Install packages:
apk add lighttpd php php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap php-pdo php-pdo_pgsql php-soap php-xmlrpc php-posix php-mcrypt php-gettext
Configure Lighttpd
vi /etc/lighttpd/lighttpd.conf
Uncomment line:
uncoment include "mod_fastcgi.conf", save and exit
Note: If you are using the Alpine ACF, change the lighttpd port:
vi /etc/lighttpd/lighttpd.conf uncomment and change the line to: server.port = 8080
Start lighttpd service and add to needed runlevel
/etc/init.d/lighttpd start && rc-update add lighttpd default