Differences

This shows you the differences between the selected revision and the current version of the page.

howto:lighttpd_php 2009/09/05 03:07 howto:lighttpd_php 2017/09/06 18:38 current
Line 1: Line 1:
====== HOWTO Build lighttpd ====== ====== HOWTO Build lighttpd ======
-First, set up your [[crosscompile]] toolchain. Download {{:howto:build_lighttpd_pa1.tgz}}. Extract, edit the file to correct the bug in **tar xvfz zips/.tar.gz --> tar xvfz zips/$APP-$APP_VER.tar.gz** and then execute.+First, set up your [[crosscompile]] toolchain. Download {{:howto:build_lighttpd_pa1.tgz}}. Extract, edit the file to correct the bug in **tar xvfz zips/.tar.gz --> tar xvzf zips/$APP-$APP_VER.tar.gz** and then execute. 
 + 
 +Quick helper: Also note that you need to create a /zips/ folder (or add it to the above script right after [if ! -f zips ]), otherwise the script breaks
Transfer the result, dns323_lighttpd-1.4.13.tar.gz, to /mnt/HD_a2 and extract it ''lnx_bin/busybox3 tar xvz -f dns323_lighttpd-1.4.13.tar.gz'' Transfer the result, dns323_lighttpd-1.4.13.tar.gz, to /mnt/HD_a2 and extract it ''lnx_bin/busybox3 tar xvz -f dns323_lighttpd-1.4.13.tar.gz''
Line 254: Line 256:
If it's running you will see port 8080 open on your DNS-323 when you Start Scanning in Netscan If it's running you will see port 8080 open on your DNS-323 when you Start Scanning in Netscan
 +
 +
 +
 +
 +=====  Lighttpd with SQLite  =====
 +
 +Update extensions path in php.ini to point to '/ffp/lib/php/extensions/no-debug-non-zts-20
 +060613/'
 +
 +==== Installation of SQLite ====
 +
 +
 +  * wget http://www.inreto.de/dns323/fun-plug/0.5/packages/sqlite-3.5.6-3.tgz
 +  * funpkg -i sqlite-3.5.6-3.tgz
 +
 +
 +==== Configuration of PHP ====
 +
 +  * Add some lines to /ffp/etc/php.ini if you need support for SQL in PHP (Create file if needed):
 +''[PHP]\\
 +extension=pdo.so\\
 +extension=pdo_sqlite.so\\
 +extension=sqlite.so''
 +  * Restart ligthttpd (As root):
 +''/ffp/start/lighttpd.sh restart''
 +
 +
 +
 +
 +

Navigation

Personal Tools