Setting Up Lighttpd With FastCGI

From Alpine Linux
Revision as of 22:58, 2 December 2010 by Jbilyk (talk | contribs) (Created page with "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 '...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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