DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-02-04 21:25:00

stefan741
Member
Registered: 2007-09-12
Posts: 22

lighttpd + php-cgi

Hi,

I get the lighttpd (simple) to run. But if I use the lighttpd.conf-with-php-sample as conf-file I get the following errors.
I could not find the php-cgi within fun_plug. I use fun_plug "0.3 2007-07-22"

Code:

/mnt/HD_a2/fun_plug.d/bin # ./lighttpd -f ../etc/lighttpd.conf-with-php-sample
/mnt/HD_a2/fun_plug.d/bin # 2008-02-04 20:23:46: (mod_fastcgi.c.998) execve failed for: /mnt/HD_a2/fun_plug.d/bin/php-cgi No such file or directory
2008-02-04 20:23:46: (mod_fastcgi.c.1024) the fastcgi-backend /mnt/HD_a2/fun_plug.d/bin/php-cgi failed to start:
2008-02-04 20:23:46: (mod_fastcgi.c.1028) child exited with status 2 /mnt/HD_a2/fun_plug.d/bin/php-cgi
2008-02-04 20:23:46: (mod_fastcgi.c.1031) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli)
For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program
2008-02-04 20:23:46: (mod_fastcgi.c.1333) [ERROR]: spawning fcgi failed.
2008-02-04 20:23:46: (server.c.849) Configuration of plugins failed. Going down.

Any ideas?

Thanks,

Stefan

Offline

 

#2 2008-02-05 10:26:08

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: lighttpd + php-cgi

you need to download and install the php package (see http://www.inreto.de/dns323/fun-plug/0.3/ for instructions near the bottom of the page)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB