Setting Up Lighttpd With FastCGI: Difference between revisions
(There's no need to change the default port from 80 to 8080) |
No edit summary |
||
Line 1: | Line 1: | ||
Install packages: | 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 | apk add lighttpd php-common 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''' | '''Configure Lighttpd''' | ||
vi /etc/lighttpd/lighttpd.conf | vi /etc/lighttpd/lighttpd.conf |
Revision as of 12:39, 8 February 2011
Install packages:
apk add lighttpd php-common 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:
include "mod_fastcgi.conf"
Start lighttpd service and add to needed runlevel
/etc/init.d/lighttpd start && rc-update add lighttpd default