Difference between revisions of "Setting Up Lighttpd With FastCGI"

From Alpine Linux
Jump to: navigation, search
(Adding php-ldap in order to make zabbix work)
(Adding a zabbix dependency)
Line 1: Line 1:
 
Install packages:
 
Install packages:
 
  apk add lighttpd php-common php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap  
 
  apk add lighttpd php-common php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap  
  apk add php-pdo php-pdo_pgsql php-soap php-xmlrpc php-posix php-mcrypt php-gettext php-ldap
+
  apk add php-pdo php-pdo_pgsql php-soap php-xmlrpc php-posix php-mcrypt php-gettext php-ldap php-ctype
 
'''Configure Lighttpd'''
 
'''Configure Lighttpd'''
 
  vi /etc/lighttpd/lighttpd.conf
 
  vi /etc/lighttpd/lighttpd.conf

Revision as of 05:16, 10 May 2011

Install packages:

apk add lighttpd php-common php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap 
apk add php-pdo php-pdo_pgsql php-soap php-xmlrpc php-posix php-mcrypt php-gettext php-ldap php-ctype

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