Vhosts problem
-
PF2 2.0-RC1 (i386) built on Wed Mar 2 17:47:38 EST 2011
vhosts instaled from packages#/var/log/lighttpd.error.log
05 09:16:03: (mod_fastcgi.c.1104) the fastcgi-backend /usr/local/php5/php-cgi failed to start:
2011-03-05 09:16:03: (mod_fastcgi.c.1108) child exited with status 2 /usr/local/php5/php-cgi
2011-03-05 09:16:03: (mod_fastcgi.c.1111) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2011-03-05 09:16:03: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed.
2011-03-05 09:16:03: (server.c.938) Configuration of plugins failed. Going down.#/usr/local/php5/php-cgi
Command not found.
#find / | grep php-cgi
"clean" -
ok, I'm install PHPService
make new host -ok/usr/local/etc/rc.d/vhosts-http.sh start
(plugin.c.131) Cannot load plugin mod_accesslog more than once, please fix your config (we may not accept such configs in future releases
ok!
ee /var/etc/vhosts-http.conf
lighttpd configuration file
use a it as base for lighttpd 1.0.0 and above
############ Options you really have to take care of ####################
FreeBSD!
server.event-handler = "freebsd-kqueue"
server.network-backend = "writev" ## Fixes 7.x upload issuesmodules to load
server.modules = (
"mod_accesslog", # < 1 mod_accesslog
"mod_access",
"mod_accesslog", # <2 mod_accesslog ??? ???
"mod_fastcgi", "mod_cgi","mod_rewrite"
)
…lets get clean one "mod_accesslog", and all working