This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:webserver:php [2020/10/26 22:48] tkilla |
linux:webserver:php [2023/03/25 10:58] tkilla [Install PHP 7.4 in Debian Buster / SURY REPO] |
||
---|---|---|---|
Line 50: | Line 50: | ||
Wordpress required: | Wordpress required: | ||
- | apt install php-iconv php-exif php-memcached php-soap | + | apt install php-iconv php-exif php-memcached php-soap |
===== Apache & PHP-FPM ===== | ===== Apache & PHP-FPM ===== | ||
Line 192: | Line 192: | ||
php -v | php -v | ||
- | update-alternatives --config | + | update-alternatives --co==== Headline ==== |
+ | nfig php | ||
==== Nginx Config - just replace the socket: ==== | ==== Nginx Config - just replace the socket: ==== | ||
Line 213: | Line 214: | ||
Check, if all required php modules are installed and configured.. good luck :) | Check, if all required php modules are installed and configured.. good luck :) | ||
+ | |||
+ | ===== Install PHP 7.4 in Debian Buster / SURY REPO ===== | ||
+ | |||
+ | php7.4-fpm needs systemd :( | ||
+ | |||
+ | Add Sury Repo: | ||
+ | apt -y install lsb-release apt-transport-https ca-certificates | ||
+ | wget -O / | ||
+ | echo "deb https:// | ||
+ | apt update | ||
+ | apt install php7.4 | ||
+ | |||
+ | Install Modules: | ||
+ | apt-get install php7.4-{fpm, | ||
+ | |||
+ | / | ||