I finally managed to get the whole lighttpd,php,sqlite,fast_cgi Thing going on the dockstar.
I wanted to use a Blogging software like "flatpress" or "chyrp" but I ran into some issue.
On both of these Sites (index.php) I do not have any graphics/style and layout. It shows only the Page with the basic text and links but no style/theme/graphics.


Does anyone know how to get the styles/graphics and layout working.
Following some Informations which could help to determine the issue:
php-v
$this->bbcode_second_pass_code('', ' php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/sqlite.so' - /usr/lib/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.4.8 (cli) (built: Oct 21 2012 05:22:39)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies')
php-cgi --version
$this->bbcode_second_pass_code('', 'PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/sqlite.so' - /usr/lib/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.4.8 (cgi-fcgi) (built: Oct 21 2012 05:25:27)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies')
/etc/php/php.ini
I have posted it on pastebin:
http://pastebin.com/gezq8AUe
/etc/lighttpd/lighttpd.conf
$this->bbcode_second_pass_code('', '
# This is a minimal example config
# See /usr/share/doc/lighttpd
# and http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions
include "/etc/lighttpd/conf.d/fastcgi.conf"
server.port = 80
server.username = "http"
server.groupname = "http"
server.document-root = "/srv/http"
server.errorlog = "/var/log/lighttpd/error.log"
dir-listing.activate = "disable"
index-file.names = ( "index.html","dispatch.fcgi","index.php" )
#mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png", "" => "application/octet-stream" )
#server.modules = (
# "mod_access",
# "mod_fastcgi",
# "mod_cgi",
# "mod_accesslog" )
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png",
".css" => "text/css",
"" => "application/octet-stream"
)
')
/etc/lighttpd/conf.d/fastcgi.conf
$this->bbcode_second_pass_code('', '
#######################################################################
##
## FastCGI Module
## ---------------
##
## http://www.lighttpd.net/documentation/fastcgi.html
##
#Auch auskommentiert weil duplicate Variable sowohl hier als auch in der fastcgi.conf
server.modules += ( "mod_fastcgi" )
#mod_access",
# "mod_fastcgi",
# "mod_cgi",
# "mod_accesslog" )
#server.indexfiles += ( "dispatch.fcgi" ) #this is deprecated
#Den habe ich hier auskommentiert da die gleiche Variable in der lighttpd.conf vorhanden ist
#index-file.names += ( "dispatch.fcgi","index.php" ) #dispatch.fcgi if rails specified
#Mein ersterVersuch mit der Config
#server.error-handler-404 = "/dispatch.fcgi" #too
#fastcgi.server = (
# ".fcgi" => (
# "localhost" => (
# "socket" => "/run/lighttpd/rails-fastcgi.sock",
# "bin-path" => "/path/to/rails/application/public/dispatch.fcgi"
# )
# )
#)
#Der zweite Versuch nach https://wiki.archlinux.org/index.php/Lighttpd
fastcgi.server = (
".php" => (
"localhost" => (
"bin-path" => "/usr/bin/php-cgi",
"socket" => "/run/lighttpd/php-fastcgi.sock",
"max-procs" => 4, # default value
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "1", # default value
),
"broken-scriptfilename" => "enable"
))
)
##
## PHP Example
## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini.
##
## The number of php processes you will get can be easily calculated:
##
## num-procs = max-procs * ( 1 + PHP_FCGI_CHILDREN )
##
## for the php-num-procs example it means you will get 17*5 = 85 php
## processes. you always should need this high number for your very
## busy sites. And if you have a lot of RAM. :)
##
#fastcgi.server = ( ".php" =>
# ( "php-local" =>
# (
# "socket" => socket_dir + "/php-fastcgi-1.socket",
# "bin-path" => server_root + "/cgi-bin/php5",
# "max-procs" => 1,
# "broken-scriptfilename" => "enable",
# )
# ),
# ( "php-tcp" =>
# (
# "host" => "127.0.0.1",
# "port" => 9999,
# "check-local" => "disable",
# "broken-scriptfilename" => "enable",
# )
# ),
#
# ( "php-num-procs" =>
# (
# "socket" => socket_dir + "/php-fastcgi-2.socket",
# "bin-path" => server_root + "/cgi-bin/php5",
# "bin-environment" => (
# "PHP_FCGI_CHILDREN" => "16",
# "PHP_FCGI_MAX_REQUESTS" => "10000",
# ),
# "max-procs" => 5,
# "broken-scriptfilename" => "enable",
# )
# ),
# )
######### And some other commented code
')
I would really be happy if someone could help me in this way.
Thanks and best regards
Ron