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/05 16:04] Sean Rhoneservers:windows:nginx_php_php-cgi [2025/09/11 06:43] (current) – external edit 127.0.0.1
Line 8: Line 8:
  
   * [[windows;10|Windows 10 (21H2)]]   * [[windows;10|Windows 10 (21H2)]]
 +
 +===== TODOs =====
 +
 +  * Task schedule auto-reboot of OS ((to refresh PHP daemons; something about 0 limit))
  
 ====== Install ====== ====== Install ======
Line 14: Line 18:
  
   * 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 26: Line 30:
   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.1\nginx.exe" protocol="tcp" localport="80,443" 
 + 
 +=== Delete Rule ===
  
-  "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 delete rule name="nginx"   "netsh.exe" advfirewall firewall delete rule name="nginx"
Line 45: Line 53:
   * 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.0beta2-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.0beta2-nts-Win32-vs17-x64\php-cgi.exe''
   * Add to user ''Path''   * Add to user ''Path''
  
Line 56: Line 64:
   "SystemPropertiesAdvanced.exe"   "SystemPropertiesAdvanced.exe"
  
-  C:\php-8.5.0alpha4-nts-Win32-vs17-x64+  C:\php-8.5.0beta2-nts-Win32-vs17-x64
  
 ====== nginx Settings ====== ====== nginx Settings ======
/srv/www/wiki/data/attic/servers/windows/nginx_php_php-cgi.1754424276.txt.gz · Last modified: by Sean Rhone