Differences

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

howto:lighttpd_php 2010/03/12 19:54 howto:lighttpd_php 2017/09/06 18:38 current
Line 1: Line 1:
====== HOWTO Build lighttpd ====== ====== HOWTO Build lighttpd ======
-[[http://www.essaymill.com|writing help]] 
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. 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.
Line 257: 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