Setting Up Lighttpd With FastCGI: Difference between revisions

From Alpine Linux
Line 7: Line 7:
Uncomment line:
Uncomment line:
  include "mod_fastcgi.conf"
  include "mod_fastcgi.conf"
{{Cmd|Restart Lighttpd: /etc/init.d/lighttpd restart}}
Restart Lighttpd:
{{Cmd|/etc/init.d/lighttpd restart}}


==Start lighttpd service and add to needed runlevel==
==Start lighttpd service and add to needed runlevel==

Revision as of 18:41, 11 February 2016

Install the additional packages:

apk add lighttpd php-common php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap php-cgi fcgi

apk add php-pdo php-pdo_pgsql php-soap php-xmlrpc php-posix php-mcrypt php-gettext php-ldap php-ctype php-dom

Configure Lighttpd

vi /etc/lighttpd/lighttpd.conf

Uncomment line:

include "mod_fastcgi.conf"

Restart Lighttpd:

/etc/init.d/lighttpd restart

Start lighttpd service and add to needed runlevel

rc-service lighttpd start && rc-update add lighttpd default