I'm new to Windows server, seasoned with Linux. Set up a remote desktop with ovh.net recently and have been trying to get a web server running on it despite my fears of concerning windows.
I currently use this batch script along with starting up the nginx.exe through the GUI.
start-fcgi.bat (Desktop)
After a random few requests to phpMyAdmin the server starts to hang indefinitely from the browser's perspective.
nginx.conf (C:\nginx-1.0.3\conf\)
Despite using Windows; I'm not a noob and you need not spell things out, although it's very possible I'm making noob mistakes with Windows. Performance & general tips specific to Windows are welcome!
Please help
I currently use this batch script along with starting up the nginx.exe through the GUI.
start-fcgi.bat (Desktop)
PHP:
@ECHO OFF
ECHO Starting PHP FastCGI...
set PATH=C:\PHP;%PATH%
C:\RunHiddenConsole.exe C:\PHP\php-cgi.exe -b 127.0.0.1:9123
After a random few requests to phpMyAdmin the server starts to hang indefinitely from the browser's perspective.
nginx.conf (C:\nginx-1.0.3\conf\)
PHP:
#user nobody;
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
#gzip on;
server {
listen 80;
server_name .ns(removed).ovh.net;
root ../WEB;
index index.php;
access_log off;
log_not_found off;
#location / {
# root ../WEB;
#}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9123;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME c:\WEB$fastcgi_script_name;
include fastcgi_params;
}
}
}
Despite using Windows; I'm not a noob and you need not spell things out, although it's very possible I'm making noob mistakes with Windows. Performance & general tips specific to Windows are welcome!
Please help