# 2 nginx windows questions

**URL:** <https://www.ruby-forum.com/t/2-nginx-windows-questions/165850>\
**Category:** NGINX\
**Created:** [April 18, 2009, 8:50am UTC](https://www.ruby-forum.com/t/2-nginx-windows-questions/165850 "2009-04-18T08:50:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Cortese](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@Chris\_Cortese](https://www.ruby-forum.com/u/Chris_Cortese)\
**Post date:** [April 18, 2009, 8:50am UTC](https://www.ruby-forum.com/t/2-nginx-windows-questions/165850/1 "2009-04-18T08:50:02Z")

</div>

Hi,

I spent about a day following a link that helped me to build nginx and  
php-fpm with cygwin, mostly from this link:

> **[How to install Nginx, PHP, PHP-FPM and MySQL under Windows with Cygwin -...](https://www.softwareprojects.com/resources/programming/t-how-to-install-nginx-php-php-fpm-and-mysql-under-1616.html)**
>
> How to install Nginx, PHP, PHP-FPM and MySQL under Windows with Cygwin Programming

In the end, I built everything but I could not use it because I could  
not get PHP’s crypt to work (ended up with CRYPT\_SALT\_LENGTH = 2 and  
CRYPT\_MD5 = 0, instead of 12 and 1) so I could not log in to my local  
copy of my website.

Today I tried the 0.7.50 from [kevinworthington.com](http://kevinworthington.com), after finding this  
link: [http://blogbuildingu.com/wordpress/install-wordpress-wemp](http://blogbuildingu.com/wordpress/install-wordpress-wemp)

This looks so much simpler but I am stumped on this problem: I’ve  
uninstalled and reinstalled nginx but it keeps thinking the nginx.conf  
file will be found under cygdive/c/nginx/conf/nginx.conf… “No such  
file”. The new nginx.conf is in c:\nginx\conf\nginx.conf.

Any ideas how to get one of these methods (preferably the latter) fixed?

Thanks!  
Chris

---

<div class="post-metadata">

**Author:** ![Chris\_Cortese](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@Chris\_Cortese](https://www.ruby-forum.com/u/Chris_Cortese)\
**Post date:** [April 19, 2009, 12:39am UTC](https://www.ruby-forum.com/t/2-nginx-windows-questions/165850/2 "2009-04-19T00:39:25Z")

</div>

## C:\nginx\conf\nginx.conf is the correct location. Try removing your original build and your cygwin (if possible), and install my setup from scratch. Sometimes the cygwin files can have conflicts.

Kevin W.

On Fri, Apr 17, 2009 at 8:37 PM, Chris Cortese
