On Sat, 10 Jul 2010 22:27:06 +0200, mlanciau <mlanc...@gmail.com> wrote:
> well.
> 
> I have found a little error in my lighttpd.conf (the bin-path was wrong)
> 
> fastcgi.server             = ( ".php" =>
>                                ( "localhost" =>
>                                  (
>                                    "socket" =>
> "/var/www/tmp/php-fastcgi.socket",
>                                    "bin-path" =>
>                                    "/usr/local/bin/php-fastcgi"
>                                  )
>                                )
>                             )
> 
> 
> now it's ok, but it remains a problem...
> 
> when I try to load a webpage, I get "No input file specified".
> 
> I have changed my php.ini but it's not enough...
> 
> An other idea ?

This isn't really an OpenBSD problem, or an OpenBSD port issue.
Searching Google for "lighttpd no input file specified" would point you to
http://redmine.lighttpd.net/wiki/1/FrequentlyAskedQuestions which would
direct you to add "cgi.fix_pathinfo = 1" to your php.ini.  You may also
find that you need to add 'broken-scriptfilename => "enable"' to your
lighttpd configuration in the block where you specify the socket and
bin-path, but I would recommend trying it without first.
-- 
 Matthew Weigel
 hacker
 unique & idempot . ent

Reply via email to