Difference between revisions of "Setting Up Lighttpd With FastCGI"

From Alpine Linux
Jump to: navigation, search
m
m (Start lighttpd service and add to needed runlevel)
Line 10: Line 10:
 
==Start lighttpd service and add to needed runlevel==
 
==Start lighttpd service and add to needed runlevel==
  
{{Cmd|/etc/init.d/lighttpd start && rc-update add lighttpd default}}
+
{{Cmd|rc-service lighttpd start && rc-update add lighttpd default}}
  
 
[[Category:Server]]
 
[[Category:Server]]
 
[[Category:PHP]]
 
[[Category:PHP]]

Revision as of 10:33, 31 December 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

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