User Tools

Site Tools


servers:windows:nginx_php_php-cgi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:windows:nginx_php_php-cgi [2025/08/18 17:59] Sean Rhoneservers:windows:nginx_php_php-cgi [2025/10/07 01:06] (current) Sean Rhone
Line 7: Line 7:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[windows;10|Windows 10 (21H2)]] +  * [[windows;11_ltsc_server|Windows 11 (24H2)]]
- +
-===== TODOs ===== +
- +
-  * Task schedule auto-reboot of OS ((to refresh PHP daemons; something about 0 limit))+
  
 ====== Install ====== ====== Install ======
Line 18: Line 14:
  
   * https://nginx.org/en/download.html   * https://nginx.org/en/download.html
-  * Last tested: ''nginx-1.29.0.zip''+  * Last tested: ''nginx-1.29.1.zip''
  
-  * Extract to root system drive for ''C:\nginx-1.29.0\nginx.exe''+  * Extract to root system drive for ''C:\nginx-1.29.1\nginx.exe''
  
   explorer "%SystemDrive%"   explorer "%SystemDrive%"
Line 30: Line 26:
   MKDIR "%SystemDrive%\www\nginx\conf"   MKDIR "%SystemDrive%\www\nginx\conf"
  
-  COPY /Y "%SystemDrive%\nginx-1.29.0\conf\fastcgi_params" "%SystemDrive%\www\nginx\conf"+  COPY /Y "%SystemDrive%\nginx-1.29.1\conf\fastcgi_params" "%SystemDrive%\www\nginx\conf"
  
-  COPY /Y "%SystemDrive%\nginx-1.29.0\conf\mime.types" "%SystemDrive%\www\nginx\conf"+  COPY /Y "%SystemDrive%\nginx-1.29.1\conf\mime.types" "%SystemDrive%\www\nginx\conf"
  
 ==== Firewall ==== ==== Firewall ====
  
-  DIR "%SystemDrive%\nginx-1.29.0\nginx.exe"+  DIR "%SystemDrive%\nginx-1.29.1\nginx.exe"
  
-  "netsh.exe" advfirewall firewall add rule name="nginx" dir="in" action="allow" profile="any" program="%SystemDrive%\nginx-1.29.0\nginx.exe" protocol="tcp" localport="80,443"+  "netsh.exe" advfirewall firewall add rule name="nginx" dir="in" action="allow" profile="any" program="%SystemDrive%\nginx-1.29.1\nginx.exe" protocol="tcp" localport="80,443"
  
 === Delete Rule === === Delete Rule ===
Line 53: Line 49:
   * https://windows.php.net/qa/   * https://windows.php.net/qa/
   * x64 Non Thread Safe   * x64 Non Thread Safe
-  * Last tested: ''php-8.5.0alpha4-nts-Win32-vs17-x64.zip''+  * Last tested: ''php-8.5.0RC1-nts-Win32-vs17-x64.zip''
  
-  * Extract to root system drive for ''C:\php-8.5.0alpha4-nts-Win32-vs17-x64\php-cgi.exe''+  * Extract to root system drive for ''C:\php-8.5.0RC1-nts-Win32-vs17-x64\php-cgi.exe''
   * Add to user ''Path''   * Add to user ''Path''
  
Line 64: Line 60:
   "SystemPropertiesAdvanced.exe"   "SystemPropertiesAdvanced.exe"
  
-  C:\php-8.5.0alpha4-nts-Win32-vs17-x64+  C:\php-8.5.0RC1-nts-Win32-vs17-x64
  
 ====== nginx Settings ====== ====== nginx Settings ======
Line 215: Line 211:
  
 ====== Scripts ====== ====== Scripts ======
- 
-**** 
  
   MKDIR "%SystemDrive%\www\scripts\nginx"   MKDIR "%SystemDrive%\www\scripts\nginx"
 +
 +  "explorer.exe" "%SystemDrive%\www\scripts\nginx"
  
 ===== Start ===== ===== Start =====
Line 225: Line 221:
  
 <code> <code>
 +@echo off
 +
 CD "%SystemDrive%\nginx-"*"\" CD "%SystemDrive%\nginx-"*"\"
 +
 "nginx.exe" -c "%SystemDrive%\www\nginx\nginx.conf" "nginx.exe" -c "%SystemDrive%\www\nginx\nginx.conf"
  
Line 235: Line 234:
  
 <code> <code>
 +@echo off
 +
 CD "%SystemDrive%\nginx-"*"\" CD "%SystemDrive%\nginx-"*"\"
 +
 "nginx.exe" -s quit "nginx.exe" -s quit
  
Line 247: Line 249:
  
 <code> <code>
 +@echo off
 +
 CD "%SystemDrive%\nginx-"*"\" CD "%SystemDrive%\nginx-"*"\"
 +
 "nginx.exe" -s reload "nginx.exe" -s reload
 "nginx.exe" -s reopen "nginx.exe" -s reopen
Line 278: Line 283:
  
   nginx   nginx
- 
  
 ====== TODOs ====== ====== TODOs ======
 +
 +  * Task schedule auto-reboot of OS ((to refresh PHP daemons; something about 0 limit))
  
 ===== Resources ===== ===== Resources =====
/usr/local/www/wiki/data/attic/servers/windows/nginx_php_php-cgi.1755554377.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki