Scénario #29912
Mettre à niveau le template php.ini sur EOLE 2.8.0
Statut:
Terminé (Sprint)
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
Début:
04/05/2020
Echéance:
22/05/2020
% réalisé:
100%
Temps estimé:
0.00 h
Points de scénarios:
2.0
Restant à faire (heures):
0.00 heure
Estimation basée sur la vélocité:
Release:
Liens avec la release:
Auto
Description
Solutions à mettre en œuvre¶
- comparer le fichier php.ini fourni par défaut sur Ubuntu (NB : fichier également joint au scénario) avec le template EOLE
- mettre le template EOLE à niveau (on pourra démarrer sur le nouveau fichier en lui intégrant les adaptations EOLE)
Critères d'acceptation¶
- le fichier est à jour
- le service apache2 démarre toujours
- les applications de base (roundcube) sont fonctionnelles
Sous-tâches
Demandes liées
Révisions associées
mise à jour du fichier de config php.ini en php 7.4 ref: #29912
suppression de la variable obsolète php_session_entropy_length
Historique
#1 Mis à jour par Joël Cuissinat il y a environ 4 ans
- Copié depuis Tâche #29898: Passage de PHP 7.3 à 7.4 sur EOLE 2.8.0 ajouté
#2 Mis à jour par Joël Cuissinat il y a environ 4 ans
- Lié à Tâche #29989: Augmenter la valeur par défaut de php_memory_limit ajouté
#3 Mis à jour par Joël Cuissinat il y a environ 4 ans
#4 Mis à jour par Matthieu Lamalle il y a presque 4 ans
- Assigné à mis à Matthieu Lamalle
#5 Mis à jour par Joël Cuissinat il y a presque 4 ans
- Lié à Tâche #30096: Validation du scénario Mettre à niveau le template php.ini sur EOLE 2.8.0 ajouté
#6 Mis à jour par Matthieu Lamalle il y a presque 4 ans
Les variables suivantes n'existent plus en php 7.4 :
- session.entropy_length
- pdo_mysql.cache_size
- mysqli.cache_size
- session.hash_function
- session.hash_bits_per_character
- url_rewriter.tags
- zend.exception_ignore_args
- session.cookie_samesite
- session.sid_length
- session.trans_sid_tags
- session.sid_bits_per_character
#7 Mis à jour par Joël Cuissinat il y a presque 4 ans
J'en ai profité pour effectué quelques corrections dans la doc : http://eole.ac-dijon.fr/documentations/2.7/completes/HTML/ModuleScribe/co/01b-configurationApacheExpert.html
La variable est bien supprimée sur EOLE >= 2.8.0 :
$ git branch -r --contains de396b69 origin/HEAD -> origin/master origin/dist/eole/2.8.0/master origin/master
Il n'y a pas d'erreur apparente :
root@scribe:~# systemctl status apache2 ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/apache2.service.d └─override.conf Active: active (running) since Mon 2020-05-18 16:17:00 CEST; 12min ago Docs: https://httpd.apache.org/docs/2.4/ Main PID: 15319 (apache2) Tasks: 7 (limit: 5816) Memory: 17.9M CGroup: /system.slice/apache2.service ├─15319 /usr/sbin/apache2 -k start ├─15320 /usr/sbin/apache2 -k start ├─15332 /usr/sbin/apache2 -k start ├─15333 /usr/sbin/apache2 -k start ├─15334 /usr/sbin/apache2 -k start ├─15335 /usr/sbin/apache2 -k start └─15336 /usr/sbin/apache2 -k start mai 18 16:17:00 scribe apache2[15320]: [fcgid:info] [pid 15320] mod_fcgid: Process manager 15320 started mai 18 16:17:00 scribe apache2[15319]: [ldap:info] [pid 15319] AH01318: APR LDAP: Built with OpenLDAP LDAP SDK mai 18 16:17:00 scribe apache2[15319]: [ldap:info] [pid 15319] AH01319: LDAP: SSL support available mai 18 16:17:00 scribe systemd[1]: Started The Apache HTTP Server. mai 18 16:17:00 scribe apache2[15319]: [socache_shmcb:info] [pid 15319] AH00830: Shared memory socache initialised mai 18 16:17:00 scribe apache2[15319]: [ssl:info] [pid 15319] AH01887: Init: Initializing (virtual) servers for SSL mai 18 16:17:00 scribe apache2[15319]: [ssl:info] [pid 15319] AH01876: mod_ssl/2.4.41 compiled against Server: Apache/2.4.41, Library: OpenSSL/1.1.1f mai 18 16:17:00 scribe apache2[15319]: [mpm_prefork:notice] [pid 15319] AH00163: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations mai 18 16:17:00 scribe apache2[15319]: [mpm_prefork:info] [pid 15319] AH00164: Server built: 2020-04-13T17:19:17 mai 18 16:17:00 scribe apache2[15319]: [core:notice] [pid 15319] AH00094: Command line: '/usr/sbin/apache2'
#8 Mis à jour par Joël Cuissinat il y a presque 4 ans
- Statut changé de Nouveau à Terminé (Sprint)