Setting Up Lighttpd With FastCGI: Difference between revisions

From Alpine Linux
(add Category:PHP)
mNo edit summary
Line 1: Line 1:
Install the additional packages:
Install the additional packages:
{{Cmd|apk add lighttpd php-common php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap }}
{{Cmd|apk add lighttpd php-common php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap php-cgi fcgi}}
{{Cmd|apk add php-pdo php-pdo_pgsql php-soap php-xmlrpc php-posix php-mcrypt php-gettext php-ldap php-ctype php-dom}}
{{Cmd|apk add php-pdo php-pdo_pgsql php-soap php-xmlrpc php-posix php-mcrypt php-gettext php-ldap php-ctype php-dom}}



Revision as of 13:16, 4 November 2013

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"

Start lighttpd service and add to needed runlevel

/etc/init.d/lighttpd start && rc-update add lighttpd default