Difference between revisions of "Setting Up Lighttpd With FastCGI"

From Alpine Linux
Jump to: navigation, search
m (minor layout changes)
Line 1: Line 1:
Install packages:
+
 
{{Cmd|apk add lighttpd php-common php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap }}
+
 
 +
Install the additional packages:
 +
{{Cmd|apk add php-common php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap }}
 
{{Cmd|apk add php-pdo php-pdo_pgsql php-soap php-xmlrpc php-posix php-mcrypt php-gettext php-ldap php-ctype}}
 
{{Cmd|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==
 
{{Cmd|vi /etc/lighttpd/lighttpd.conf}}
 
{{Cmd|vi /etc/lighttpd/lighttpd.conf}}
 
Uncomment line:
 
Uncomment line:
 
  include "mod_fastcgi.conf"
 
  include "mod_fastcgi.conf"
 +
 
==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|/etc/init.d/lighttpd start && rc-update add lighttpd default}}
  
 
[[Category:Networking]]
 
[[Category:Networking]]

Revision as of 03:38, 17 June 2011


Install the additional packages:

apk add 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