Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.7.52

April 22, 2009 08:01AM
On Tue, Apr 21, 2009 at 04:34:49PM -0700, Chris Cortese wrote:

> Just to clarify:
>
> I'm really wanting to try Igor's latest 0.7.52 native Windows build.
> Ignore the part about "cygwin" being part of the pathname.
> But there is history for why "cygwin" is in my path at all:
>
> 1. I first was trying the cygwin build from the link out there on the
> net.
> http://www.softwareprojects.com/resources/programming/t-how-to-install-nginx-php-php-fpm-and-mysql-under-1616.html
> Using that link and a couple other things I had to find / figure out, I
> was able to get nginx and php-fpm working on Windows, but I could not
> get the crypt() function to understand / do md5. This meant I couldn't
> log in to my local website and so this was kind of useless.
>
> 2. I next tried 0.7.50 from kevinworthington.com. I think it could
> have worked but it insisted on looking for nginx.conf down under the
> /cygwin place where I had built nginx from source (see #1, above). I
> could not figure out how to tell it just to use nginx.conf from
> c:\nginx\conf\nginx.conf. I tried uninstalling and reinstalling cygwin
> and nginx (but cygwin is not so easy to uninstall). That was apparently
> all that I needed to get that working! (Well, I never got to the point
> of testing crypt() on that attempt).
>
> 3. Then Igor releases 0.7.52 native Windows build which I hoped would
> avoid both the above problems, and it probably still will, but I am
> unclear as to what kind of paths are expected. Somewhere I read that
> for the SCRIPT_FILENAME, I should include the drive letter, but for the
> "root" directive, I should not...??? And I did not know if double
> quotes should be used, etc.... I can find no documentation on proper
> paths for the new 0.7.52 native Windows build nginx.conf.
>
> I'll keep trying. Hope that history explains how I got there and why
> "cygwin" still is in my nginx.conf. I'm no longer trying to use the
> cygwin build. I just happen to have my web codebase still in that
> location (I've also tried other locations, like c:\nginx\html\www\...etc)

The path in SCRIPT_FILENAME is FastCGI server property. You may run nginx
on Unix host and FastCGI on Windows. And in this case SCRIPT_FILENAME
should have Windows-style path.

If PHP is Cygwin application, then you should use Cygwin-compatible path.
If PHP is native Win32 application, then you should use x:\.. style path.

> Thanks!
> Chris
>
>
> Roger Pack wrote:
> >>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....
> >>
> >
> >if it's cygwin it might be something like /cygdrive/c/...
> >
>

--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

nginx-0.7.52

Igor Sysoev April 20, 2009 02:33AM

Re: nginx-0.7.52

Kevin Worthington April 20, 2009 03:12AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 03:24AM

Re: nginx-0.7.52

Kevin Worthington April 20, 2009 01:28PM

Re: nginx-0.7.52

Weibin Yao April 20, 2009 06:38AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 07:13AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 07:30AM

basic auth not prompting for id and pass

AMP Admin April 20, 2009 07:27PM

RE: nginx-0.7.52

郭振立 April 20, 2009 09:41AM

Re: nginx-0.7.52

Joaquin Cuenca Abela April 20, 2009 10:42AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 01:02PM

Re: Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 04:57AM

Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:18AM

Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:06AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 06:19AM

Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 03:51AM

Re: Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 05:43AM

Re: Re: Re: nginx-0.7.52

Istv April 21, 2009 05:52AM

Re: nginx-0.7.52

Anton Yuzhaninov April 21, 2009 06:12AM

Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 11:12PM

Re: Re: nginx-0.7.52

Weibin Yao April 22, 2009 12:01AM

Re: Re: nginx-0.7.52

Igor Sysoev April 22, 2009 02:20AM

Re: Re: nginx-0.7.52

Igor Sysoev April 22, 2009 03:38AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 06:23AM

Re: Re: Re: nginx-0.7.52

Roger Pack April 21, 2009 10:52AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 11:17AM

Re: Re: Re: nginx-0.7.52

Istv April 21, 2009 11:27AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:00PM

Re: Re: Re: nginx-0.7.52

Roger Pack April 21, 2009 11:36AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 03:54PM

Re: nginx-0.7.52

Chris Cortese April 20, 2009 06:20PM

Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:20PM

Re: nginx-0.7.52

Roger Pack April 21, 2009 05:35PM

Re: nginx-0.7.52

Chris Cortese April 21, 2009 07:34PM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 08:01AM

Re: nginx-0.7.52 all Windows native working

Chris Cortese April 22, 2009 03:21PM

Re: nginx-0.7.52 all Windows native working

Roger Pack April 23, 2009 09:38AM

Re: nginx-0.7.52

Chris Wan April 21, 2009 11:37PM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 08:45AM

Re: nginx-0.7.52

Chris Wan April 22, 2009 11:14PM

Re: nginx-0.7.52

diogin April 22, 2009 02:47AM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 03:02AM

Re: nginx-0.7.52

diogin April 22, 2009 08:09AM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 08:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 269
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready