servers:windows:php_php-fpm_wsl
This is an old revision of the document!
Table of Contents
Information
Prerequisites
Dependencies
"wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/bin/zypper' install php8-cli php8-fpm php8-opcache
Information
"wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -m
Services
Disable
"wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/bin/systemctl' disable 'php-fpm' --now
Config Defaults
php-fpm Default Pool
"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 --cd "/tmp" -- '/usr/bin/nano' '/etc/php8/fpm/php-fpm.d/www.conf~'
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 worker3) TODO: Re-check and possibly after setting the PHP path with config
"wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --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.1769732095.txt.gz · Last modified: by Sean Rhone
