*nginx already runs in native mode* i mean i can call *nginx.exe -install* and it will be in services without handmade or 3party tools.like apache will it ? sometime?by Igor Kuznetsov - Other discussion
Еще как использует IIS вообще говоря очень шустро работает. Если бы он еще с php как с модулем работал аля апач - про nginx на винде речи бы ни шлоby Igor Kuznetsov - Nginx Mailing List - Russian
я на c# написал службу, которая запускает powershell скрипты. на запуск, и на стоп.php так же запускает использовать всякие сторонние утилитки - это просто жесть как неудобно могу выложить исходник, если надо вообще удивляby Igor Kuznetsov - Nginx Mailing List - Russian
btw it was a bug in startup script For ($i = 9123; $i -lt 9132;$i++) should be For ($i = 9123; $i -lt 9133;$i++) .... and one more question - will http://nginx-win.ecsds.eu/ version support windows service in native mode? reason is that server windows is optimized for services...by Igor Kuznetsov - Other discussion
Bat files in 2016 year is very strange, but i used it as example and wrote my own service with c# that uses powershell to start/stop cgi process so, same 10 php-cgi.exe as in example... For ($i = 9123; $i -lt 9132;$i++) { $arg='-b 127.0.0.1:'+$i Start-Process -FilePath 'D:\Server\php_nginx\php-cgi.exe' $arg -NoNewWindow } and still sometimes i haveby Igor Kuznetsov - Other discussion
But why its time out ? Site is on testing and i am the only user.. Cgi cache is turned off for now Currently i have 1 php service using that config <service> <id>php2</id> <name>php2</name> <description>php2</description> <executable>D:\Server\php_nginx\php-cgi.exe</executable> <startargument>-b</startargument> &by Igor Kuznetsov - Other discussion
some times i have 1104#1616: *1821 upstream timed out what can it be ?by Igor Kuznetsov - Other discussion
Problem solved http { fastcgi_cache_path D:/Server/nginx_cache levels=1:2 keys_zone=YOURAPP:100m inactive=60m; } location ~ \.php$ { root D:/Server/htdocs/; fastcgi_pass 127.0.0.1:9123; # single backend process #fastcgi_pass myLoadBalancer; # or multiple, see example above fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; includeby Igor Kuznetsov - Other discussion
ok.. looks like i almost done with cache Little problem is that "Viewed" list is not working There is a cookie that have a data about viewed items on site, it ok, cookie is updating while i using site, but when i go to site main page "Viewed" its not changing But if i will click to "Viewed" list i will all of them Hot to fix it ? location ~ \.php$ {by Igor Kuznetsov - Other discussion
why off ? every tutorial i see - they are on..by Igor Kuznetsov - Other discussion
Hi I have http://nginx-win.ecsds.eu/ version 1.9.13.1 Windows server 2012r2 VDS with two 200% time cpu cores, 4 gb ram php 7.0.4 opcache enabled, about 95% hit Story is that when i start free test from loadimpact with 50 virtual users on site main page i have about 40% cpu used with php-cgi.exe.. Is that normal ? I tryed cgi cache. Its ok with it, but its very bad idea to use cgi cby Igor Kuznetsov - Other discussion