linux:php7fpm-debian8
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
linux:php7fpm-debian8 [2016/06/28 20:22] – [Solutions compatibles] gdureuil | linux:php7fpm-debian8 [2020/07/24 22:03] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== php7.0-fpm sur Debian 8 ====== | ====== php7.0-fpm sur Debian 8 ====== | ||
- | PHP 7 n'est pas disponible par défaut sur Debian8. Il faut donc ajouter le dépôt " | + | <WRAP center important 100%> |
+ | Debian 9 n'a plus besoin d' | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Information ===== | ||
+ | |||
+ | PHP 7 n'est pas disponible par défaut sur Debian8. Il faut donc ajouter le dépôt "**dotdeb**" qui permet de l' | ||
===== Dépôt dotdeb ===== | ===== Dépôt dotdeb ===== | ||
Ligne 23: | Ligne 30: | ||
<sxh bash;> | <sxh bash;> | ||
- | apt install php7.0-fpm php7.0 php7.0-sqlite php7.0-mysql php7.0-gd php7.0-curl php7.0-xml php7.0-zip php7.0-mbstring | + | apt install php7.0-fpm php7.0 php7.0-sqlite php7.0-mysql php7.0-gd php7.0-curl |
</ | </ | ||
Ligne 49: | Ligne 56: | ||
pm = ondemand | pm = ondemand | ||
pm.max_children = 20 | pm.max_children = 20 | ||
- | pm.process_idle_timeout = 15s | + | pm.process_idle_timeout = 10s |
+ | pm.max_requests = 500 | ||
</ | </ | ||
Ligne 57: | Ligne 65: | ||
service php7.0-fpm restart | service php7.0-fpm restart | ||
</ | </ | ||
- | |||
- | <WRAP center round alert 100%> | ||
- | Ceci n'est qu'un extrait du fichier vhost, concernant php7.0-fpm. [[linux: | ||
- | </ | ||
- | |||
===== Vhost ===== | ===== Vhost ===== | ||
Ligne 80: | Ligne 83: | ||
Pour changer de version de php utilisée, il suffit de pointer dans le vhost sur le bon socket php-fpm. | Pour changer de version de php utilisée, il suffit de pointer dans le vhost sur le bon socket php-fpm. | ||
+ | <WRAP center alert 100%> | ||
+ | Ceci n'est qu'un extrait du fichier vhost, concernant php7.0-fpm. [[linux: | ||
+ | </ | ||
===== Solutions compatibles php7.0 ===== | ===== Solutions compatibles php7.0 ===== | ||
- | Wordpress 4.5.3 | + | Liste non exhaustive de mes tests sur php7.0, validés : |
- | + | ||
- | Kanboard 1.3.0 | + | |
- | Nextcloud 9.0.51 | + | * [[https:// |
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
- | Dokuwiki Release 2016-06-26 " | + | ===== Sources ===== |
- | Lychee 3.1.2 | + | [[https:// |
linux/php7fpm-debian8.1467145372.txt.gz · Dernière modification : 2020/07/24 22:03 (modification externe)