On Mon, Apr 20, 2009 at 03:20:59PM -0700, Chris Cortese wrote:
> Thanks for this release! I've been trying to get nginx going on Windows
> for a while now.
>
> With this latest build though, all I can get is "No input file
> specified". I thought maybe I was specifying paths in a way it didn't
> like but I've tried every variation on the Windows paths I can think
> of. This is my current conf for one of my sites. Can anyone tell me
> what's wrong here? TIA.
The message "No input file specified" meanse that PHP can not find file
on passed path, say:
"c:/cygwin/home/Chris/www/live/jobsite/trunk/html/public/index.php"
I do not know how Cygwin translated pathnames, but it may be just
"/home/Chris/www/live/jobsite/trunk/html/public/index.php"
therefore you may try
- fastcgi_param SCRIPT_FILENAME c:/cygwin/home/Chris....
+ fastcgi_param SCRIPT_FILENAME /home/Chris....
> server {
> # listen 127.0.0.1:80;
> listen 80;
> server_name jobsite.xpdesktop;
>
> access_log
> "c:/cygwin/home/Chris/www/live/jobsite/logs/jobsite.access.log";
> error_log
> "c:/cygwin/home/Chris/www/live/jobsite/logs/jobsite.error.log" debug;
>
> root "c:/cygwin/home/Chris/www/live/jobsite/trunk/html/public";
> index index.php index.html;
>
> location / {
> fastcgi_pass 127.0.0.1:9000;
> fastcgi_param SCRIPT_FILENAME
> "c:/cygwin/home/Chris/www/live/jobsite/trunk/html/public/index.php";
> fastcgi_param QUERY_STRING q=$request_uri;
> include "c:/nginx/conf/fastcgi_params";
> }
>
> location ~ \.php$ {
> fastcgi_pass 127.0.0.1:9000;
> fastcgi_index index.php;
> fastcgi_param SCRIPT_FILENAME
> "c:/cygwin/home/Chris/www/live/jobsite/trunk/html/public/$fastcgi_script_name";
> fastcgi_param QUERY_STRING q=$request_uri;
> include "c:/nginx/conf/fastcgi_params";
> }
> }
>
>
> Igor Sysoev wrote:
> >Changes with nginx 0.7.52 20 Apr
> >2009
> >
> > *) Feature: the first native Windows binary release.
> >
> > *) Bugfix: in processing HEAD method while caching.
> >
> > *) Bugfix: in processing the "If-Modified-Since", "If-Range", etc.
> > client request header lines while caching.
> >
> > *) Bugfix: now the "Set-Cookie" and "P3P" header lines are hidden in
> > cacheable responses.
> >
> > *) Bugfix: if nginx was built with the ngx_http_perl_module and with a
> > perl which supports threads, then during a master process exit the
> > message "panic: MUTEX_LOCK" might be issued.
> >
> > *) Bugfix: nginx could not be built --without-http-cache; the bug had
> > appeared in 0.7.48.
> >
> > *) Bugfix: nginx could not be built on platforms different from i386,
> > amd64, sparc, and ppc; the bug had appeared in 0.7.42.
> >
> >
> >
>
--
Igor Sysoev
http://sysoev.ru/en/