Win32 NGINX + PHP
April 23rd, 2008
Yep.. just another one win32/cygwin nginx build. Get a working nginx under windows with two clicks.
Download link: Win32 nginx 0.6.29
In case you want to run nginx like a service on windows NT/2000/XP/2003(must be running on all of these) you’ll need this srvany.
To install nginx like a windows service with php-cgi type this:
instsrv.exe nginx c:nginxbinnginx.exe
instsrv.exe php-cgi c:phpphp-cgi.exe -b 127.0.0.1:9000
In case you want to stop using it at some time, you can remove the service using this:
instsrv.exe nginx remove
instsrv.exe php-cgi remove
For more options over the services use “services.msc” (start -> run -> services.msc)
That’s it! Simple, ha?
Related posts:
- nginx Win32 binary Several days ago I compiled nginx under windows/cygwin platform, and...
This guy has a whole bunch of nginx for windows builds, right up to 0.7.2 as of now:
http://www.kevinworthington.com/nginx/win32/
Yeah, I know but mine was online earlier than the link you are posting(check the dates), actually my post was second.. the first post of “public win32 build” was on March 12 2008 before that post no one has ever posted(consider it as indexed in google) a successful win32 build. The first successful win32 nginx build is posted on dev.soup.io.
My build is just a P.O.C., the “shell-scripts” and the windows service installation are far away from doing perfect work, the whole win32 port is just for playing a bit with nginx under windows platform(cygwin), if you have something serious in mind, I recommend you to use is under linux/unix. On windows for development I suggest you to use Apache2Triad(google.!t) or vertrigo serv(google.!t).
new link svarny http://www.filewatcher.com/m/srvany.zip.24287.0.0.html
Izvinqvam se za bylgarskiq, no vijdam che ima i na drugi mesta pisano na bg, ta iskam da popitam kak tochno se configurira s php-to. Gledah i dvete polezni opisaniq, stana mi super interesno, no che sled 30 minutna igra otnovo mi dava download na http://localhost/phpinfo.php.
Probvah po nqkolko razlichni varianta, no ne stava i stava. Prizovavam i polq tuk za pomosht :)