Sorry, no troll feeding.
It works now, just in case anybody else has problems, here are the steps:
Download nginx for Win and expand the directory. I put it into:
c/xampp/nginx
edit nginx.conf (# is old)
- Code: Select all
# location / {
# root html;
# index index.html index.htm index.php;
# }
location / {
root c:/xampp/htdocs/;
index index.html index.htm index.php;
}
########## and #################
# location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
# }
location ~ .php$ {
root htdocs;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME c:/xampp/htdocs/$fastcgi_script_name;
include fastcgi_params;
}
Then...
• Start nginx.exe
• Start PHP with RUN > c:/xampp/php/php-cgi.exe -b 127.0.0.1:9000 -c c:/xampp/php/php.ini
• Start mysql.exe
So far that works for me. The Win server is used as intranet only, but it's an older Xp and suffers from the heavy Apache memory requirement.
I will update if I encounter problems.