Project

General

Profile

Tâche #7721

Distribution EOLE - Scénario #8989: Intégration et gestion de php_browscap

Intégration de php_browscap dans eole-web

Added by Arnaud FORNEROT about 9 years ago. Updated over 8 years ago.

Status:
Fermé
Priority:
Normal
Start date:
09/30/2014
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Remaining (hours):
0.0

Description

Warning : get_browser(): browscap ini directive not set in ...

Téléchargé
http://browscap.org/stream?q=PHP_BrowsCapINI

Puis je l'ai mis dans /etc/php5/apache2/php_browscap.ini

Puis dans php.ini, j'ai rajouté:
[browscap]
browscap = php_browscap.ini


Related issues

Copied to Documentations - Tâche #9099: Nouvelle variable php_browscap dans l'onglet expert apache Fermé 03/11/2015

Associated revisions

Revision a71c7290 (diff)
Added by Joël Cuissinat over 8 years ago

Intégration de php_browscap

  • config/extra/browscap.ini : nouveau fichier
  • tmpl/php.ini : activation de la directive
  • dicos/20_web.xml : ajout de la variable php_browscap

Ref: #7721 @2h

Revision a810487e (diff)
Added by Joël Cuissinat over 8 years ago

Déclaration du paquet eole-web-config

Fixes: #7721 @30m

Revision 6fb4f294 (diff)
Added by Joël Cuissinat over 8 years ago

Maj skeletor et gestion du fichier browscap.ini

Ref: #7721 @15m [2.4]

Revision 1115484e (diff)
Added by Joël Cuissinat over 8 years ago

Déclaration du paquet eole-web-config en 2.4

Ref: #7721 @20m

Revision 143d3fbd (diff)
Added by Joël Cuissinat over 8 years ago

Correction du dico 2.4 suite au merge

Ref: #7721 @10m

Revision 9d443da5
Added by Joël Cuissinat over 8 years ago

Merge branch 'dist/ubuntu/lucid/issues/7721' into dist/ubuntu/lucid/master

Conflicts:
debian/changelog

Ref: #7721 @15m (recompilation du paquet en version stable)

History

#1 Updated by Arnaud FORNEROT about 9 years ago

  • Target version changed from Envole 3.3.8 to Envole 3.3.9

#2 Updated by Arnaud FORNEROT over 8 years ago

  • Target version changed from Envole 3.3.9 to Envole 3.3.10

#3 Updated by Igor GODI over 8 years ago

  • Status changed from Nouveau to Accepté
  • Assigned To set to Igor GODI
  • % Done changed from 0 to 50

analyse de la problématique

#4 Updated by Igor GODI over 8 years ago

  • % Done changed from 50 to 90

suite recherches : "browscap is flagged as PHP_INI_SYSTEM so it cannot be changed using ini_set or through htaccess"

Il n'est pas possible de placer l'appel de php_browscap.ini ailleurs que dans php.ini
Appel à l'équipe eole pour l'intégrer

#5 Updated by Joël Cuissinat over 8 years ago

  • Project changed from balado to eole-web
  • Target version deleted (Envole 3.3.10)

Luc a m'a demandé qu'on en discute à la mêlée de demain matin.

#6 Updated by Gérald Schwartzmann over 8 years ago

Faire un test en plaçant le fichier .ini dans /etc/php5/conf.d/ et en supprimant la directive du fichier php.ini

#7 Updated by Igor GODI over 8 years ago

Ne fonctionne pas non plus si on met dans /etc/php5/conf.d le fichier php_browscap.ini

#8 Updated by Igor GODI over 8 years ago

Seule la solution fonctionne et est rapide :

[[Télécharger : http://browscap.org/stream?q=PHP_BrowsCapINI
Mettre dans /etc/php5/apache2/php_browscap.ini
Puis dans php.ini, j'ai rajouté:
[browscap]
browscap = php_browscap.ini

]]

#9 Updated by Joël Cuissinat over 8 years ago

  • Subject changed from Dépendance manquante to Intégration de php_browscap dans eole-web
  • Status changed from Accepté to Nouveau
  • % Done changed from 90 to 50
  • Estimated time set to 4.00 h
A mon avis, il faudrait :
  • que le fichier soit installé à destination par un paquet (pas eole-web à cause du mode conteneur ni (eole-)web-pkg car c'est un méta-paquet)
  • que la ligne du php.ini soit conditionnée par une (ou plusieurs) variable
  • qu'il y ait une variable dédiée (ex : php_browscap oui/non)
  • qu'elle soit redéfinie et/ou transformée en "auto" par les paquets qui en ont besoin (ex : balado)

#10 Updated by Joël Cuissinat over 8 years ago

  • Parent task set to #8989

#11 Updated by Joël Cuissinat over 8 years ago

  • Status changed from Nouveau to Résolu
  • Start date set to 09/30/2014
  • % Done changed from 50 to 100
  • Remaining (hours) set to 4.0

#12 Updated by Joël Cuissinat over 8 years ago

=> paquets candidats eole-web (2.3-eole324~1) et scribe-pkg (2.3-eole73~1)

#13 Updated by Joël Cuissinat over 8 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 4.0 to 0.0
<igorgodi> [...], correctif php_browscap validé.... merci jojo2024

#14 Updated by Joël Cuissinat over 8 years ago

  • Assigned To changed from Igor GODI to Gérald Schwartzmann

Also available in: Atom PDF