User Tools

Site Tools


servers:windows:php_php-fpm_wsl

This is an old revision of the document!


Information

Prerequisites

Dependencies

"wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' install php8-cli php8-fpm php8-opcache

Information

"wsl.exe" --distribution openSUSE-Tumbleweed -- '/usr/bin/php' -m

Services

Disable

"wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/systemctl' disable 'php-fpm' --now

Config Defaults

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 -- '/usr/bin/nano' '/etc/php8/fpm/php-fpm.d/www.conf~'

php.ini

"wsl.exe" --distribution openSUSE-Tumbleweed -- '/usr/bin/nano' '/etc/php8/cli/php.ini'

Symlink

  • 2025/11/20: Fixes Friendica console.php worker 3)
  • :!: 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'
3)
sh: line 1: /usr/local/bin/php: No such file or directory
/usr/local/www/wiki/data/attic/servers/windows/php_php-fpm_wsl.1768972411.txt.gz · Last modified: by Sean Rhone