I use Xampp 1.7.3 on Win Xp and Apache takes quite a bit of RAM.
Question is, can I simply stop Apache and run nginx?
I tried with a standalone nginx but so far I t didn't work.
# 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;
}
Users browsing this forum: No registered users and 161 guests