Difference between revisions of "Setting Up Lighttpd With FastCGI"

From Alpine Linux
Jump to: navigation, search
(Created page with "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 '...")
 
(There's no need to change the default port from 80 to 8080)
Line 4: Line 4:
 
  vi /etc/lighttpd/lighttpd.conf
 
  vi /etc/lighttpd/lighttpd.conf
 
Uncomment line:
 
Uncomment line:
  uncoment    include "mod_fastcgi.conf", save and exit
+
  include "mod_fastcgi.conf"
'''Note:''' If you are using the Alpine ACF, change the lighttpd port:
 
vi /etc/lighttpd/lighttpd.conf
 
uncomment and change the line to: server.port          = 8080
 
 
Start lighttpd service and add to needed runlevel
 
Start lighttpd service and add to needed runlevel
 
  /etc/init.d/lighttpd start && rc-update add lighttpd default
 
  /etc/init.d/lighttpd start && rc-update add lighttpd default

Revision as of 10:02, 3 December 2010

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

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