Lighttpd with mysql and php (LLMP)

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 01:43, 27 August 2006 by Flavoie (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Lighttpd with php and mysql

apt-get install lighttpd php5-dev php5-cgi php5-sqlite php5-mysql mysql-client mysql-server 

Enable cgi and fast-cgi for php usage

Setup vhost for 2 urls in lighttpd.conf

Enable url mod_rewrite in lighttpd.conf

Php

Plug and play ! Nothing to do !

Mysql

mysqladmin -u root password 'mypass'