User Tools

Site Tools


linux:webserver:php

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:webserver:php [2018/08/30 20:04]
tkilla
linux:webserver:php [2023/03/25 10:58] (current)
tkilla [Install PHP 7.4 in Debian Buster / SURY REPO]
Line 46: Line 46:
  
  
 +===== PHP Modules =====
 +
 +Wordpress required:
 +
 +   apt install php-iconv php-exif php-memcached php-soap  php-yaml php-imap php-markdown php-readline php-curl  php-opcache  php-zip php-dom php-mbstring php-imagick php-fileinfo php-json php-xml php-simplexml
  
 ===== Apache & PHP-FPM ===== ===== Apache & PHP-FPM =====
Line 187: Line 192:
  
   php -v   php -v
-  update-alternatives --config php+  update-alternatives --co==== Headline ==== 
 +nfig php
  
 ==== Nginx Config - just replace the socket: ==== ==== Nginx Config - just replace the socket: ====
Line 208: 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 /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
 +  echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
 +  apt update
 +  apt install php7.4
 +
 +Install Modules:
 +  apt-get install php7.4-{fpm,bcmath,bz2,intl,gd,mbstring,mysql,zip,mysql,memcache,memcached,xml,json,curl}
 +
 +  /etc/init.d/php7.4-fpm restart
  
  
linux/webserver/php.1535652245.txt.gz · Last modified: 2018/08/30 20:04 by tkilla