Updated  to have more available paths.
Added explicit owner, group and mode settings for file declarations.
Added php5-sqlite.