User Tools

Site Tools


servers:windows:php_php-fpm_wsl

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:php_php-fpm_wsl [2026/01/21 00:13] Sean Rhoneservers:windows:php_php-fpm_wsl [2026/01/29 21:30] (current) Sean Rhone
Line 16: Line 16:
 **** ****
  
-  "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' install php8-cli php8-fpm php8-opcache+  "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/bin/zypper' install php8-cli php8-fpm php8-opcache
  
 ====== Information ====== ====== Information ======
Line 22: Line 22:
 **** ****
  
-  "wsl.exe" --distribution openSUSE-Tumbleweed -- '/usr/bin/php' -m+  "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -m
  
 ====== Services ====== ====== Services ======
Line 30: Line 30:
 **** ****
  
-  "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/systemctl' disable 'php-fpm' --now+  "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/bin/systemctl' disable 'php-fpm' --now
  
 ====== Config Defaults ====== ====== Config Defaults ======
Line 36: Line 36:
 ===== php-fpm Default Pool ===== ===== php-fpm Default Pool =====
  
-  "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/mv' -fv '/etc/php8/fpm/php-fpm.d/www.conf' '/etc/php8/fpm/php-fpm.d/www.conf~'+  "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/bin/mv' -fv '/etc/php8/fpm/php-fpm.d/www.conf' '/etc/php8/fpm/php-fpm.d/www.conf~'
  
-  "wsl.exe" --distribution openSUSE-Tumbleweed -- '/usr/bin/nano' '/etc/php8/fpm/php-fpm.d/www.conf~'+  "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/nano' '/etc/php8/fpm/php-fpm.d/www.conf~'
  
 ===== php.ini ===== ===== php.ini =====
Line 44: Line 44:
 **** ****
  
-  "wsl.exe" --distribution openSUSE-Tumbleweed -- '/usr/bin/nano' '/etc/php8/cli/php.ini+  "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/nano' '/etc/php8/cli/php.ini'
- +
-====== Symlink ====== +
- +
-  * 2025/11/20: Fixes Friendica ''console.php worker'' ((''sh: line 1: /usr/local/bin/php: No such file or directory'')) +
-  * :!: TODO: Re-check and possibly after setting the PHP path with config +
- +
-  "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- ln -s -f '/usr/bin/php' '/usr/local/bin/php'+
  
/usr/local/www/wiki/data/attic/servers/windows/php_php-fpm_wsl.1768972411.txt.gz · Last modified: by Sean Rhone