IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Administration système Discussion :

Installation de PHP 5.3.2 sur Redhat 5.5


Sujet :

Administration système

  1. #1
    Membre actif
    Profil pro
    Inscrit en
    Octobre 2006
    Messages
    461
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2006
    Messages : 461
    Points : 283
    Points
    283
    Par défaut Installation de PHP 5.3.2 sur Redhat 5.5
    Bonjour,

    Je dois installer PHP 5.3.2 sur Redhat 5.5. Lorsque je lance mon
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    rpm -ivh php-5.3.2-6.el6.x86_64.rpm
    , je reçois les messages d'erreurs de dépendances ci-dessous :
    warning: php-5.3.2-6.el6.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID fd431d51
    error: Failed dependencies:
    libc.so.6(GLIBC_2.11)(64bit) is needed by php-5.3.2-6.el6.x86_64
    libc.so.6(GLIBC_2.7)(64bit) is needed by php-5.3.2-6.el6.x86_64
    libc.so.6(GLIBC_2.8)(64bit) is needed by php-5.3.2-6.el6.x86_64
    libcrypto.so.10()(64bit) is needed by php-5.3.2-6.el6.x86_64
    libssl.so.10()(64bit) is needed by php-5.3.2-6.el6.x86_64
    libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by php-5.3.2-6.el6.x86_64
    libxml2.so.2(LIBXML2_2.5.2)(64bit) is needed by php-5.3.2-6.el6.x86_64
    libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by php-5.3.2-6.el6.x86_64
    libxml2.so.2(LIBXML2_2.6.11)(64bit) is needed by php-5.3.2-6.el6.x86_64
    libxml2.so.2(LIBXML2_2.6.5)(64bit) is needed by php-5.3.2-6.el6.x86_64
    php-cli = 5.3.2-6.el6 is needed by php-5.3.2-6.el6.x86_64
    php-common = 5.3.2-6.el6 is needed by php-5.3.2-6.el6.x86_64
    rpmlib(FileDigests) <= 4.6.0-1 is needed by php-5.3.2-6.el6.x86_64
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by php-5.3.2-6.el6.x86_64
    Le rpm provient de RedHat. Mon libc.so.6 existe (voir ci-dessous) :
    [root@rh55tla linux]# /lib/libc.so.6
    GNU C Library stable release version 2.5, by Roland McGrath et al.
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-46).
    Compiled on a Linux 2.6.9 system on 2010-03-10.
    Available extensions:
    The C stubs add-on version 2.1.2.
    crypt add-on version 2.1 by Michael Glad and others
    GNU Libidn by Simon Josefsson
    GNU libio by Per Bothner
    NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
    Native POSIX Threads Library by Ulrich Drepper et al
    BIND-8.2.3-T5B
    RT using linux kernel aio
    Thread-local storage support included.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/libc/bugs.html>.
    Ces même problèmes de dépendance apparaissent lorsque je tente d'installer le php-cli, php-common. J'ai tenté de mettre à jour la glibc (voir ci-dessous), mais d'autres messages d'erreur et de dépendance :
    warning: glibc-2.12-1.7.el6.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID fd431d51
    error: Failed dependencies:
    glibc-common = 2.12-1.7.el6 is needed by glibc-2.12-1.7.el6.x86_64
    libfreebl3.so(NSSRAWHASH_3.12.3)(64bit) is needed by glibc-2.12-1.7.el6.x86_64
    rpmlib(FileDigests) <= 4.6.0-1 is needed by glibc-2.12-1.7.el6.x86_64
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by glibc-2.12-1.7.el6.x86_64
    binutils < 2.19.51.0.10 conflicts with glibc-2.12-1.7.el6.x86_64
    prelink < 0.4.2 conflicts with glibc-2.12-1.7.el6.x86_64
    glibc > 2.5 conflicts with glibc-common-2.5-49.x86_64
    Y a t'il une méthode qui me permette de mettre à jour la GLIBC et d'installer mon PHP, en règlant tous ces problèmes de conflit de version ?

    Merci d'avance pour votre aide.


  2. #2
    Membre actif
    Profil pro
    Inscrit en
    Octobre 2006
    Messages
    461
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2006
    Messages : 461
    Points : 283
    Points
    283
    Par défaut
    En fait, PHP 5.3.2 ne tourne que la RedHat 6. Je tente de compiler les sources d'un PHP 5.2.14. J'ai résolu touts les problèmes de dependance mais un dernière erreur me bloque :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    -lm -lxslt -lxml2 -lz -lm -lcrypt  -o sapi/cgi/php-cgi
    ext/xmlrpc/.libs/xmlrpc-epi-php.o: In function `set_zval_xmlrpc_type':
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:1327: undefined reference to `XMLRPC_CreateValueDateTime_ISO8601'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:1329: undefined reference to `XMLRPC_GetValueDateTime_ISO8601'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:1345: undefined reference to `XMLRPC_CleanupValue'
    ext/xmlrpc/.libs/xmlrpc-epi-php.o: In function `XMLRPC_to_PHP':
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:580: undefined reference to `XMLRPC_GetValueType'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:624: undefined reference to `XMLRPC_VectorRewind'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:629: undefined reference to `XMLRPC_GetValueID'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:631: undefined reference to `XMLRPC_VectorNext'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:589: undefined reference to `XMLRPC_GetValueString'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:616: undefined reference to `XMLRPC_GetValueStringLen'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:597: undefined reference to `XMLRPC_GetValueInt'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:605: undefined reference to `XMLRPC_GetValueDouble'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:609: undefined reference to `XMLRPC_GetValueStringLen'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:610: undefined reference to `XMLRPC_GetValueDateTime_ISO8601'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:601: undefined reference to `XMLRPC_GetValueBoolean'
    /download/linux/php/php-5.2.14/ext/xmlrpc/xmlrpc-epi-php.c:614: undefined reference to `XMLRPC_GetValueBase64'
    ext/xmlrpc/.libs/xmlrpc-epi-php.o: In function `PHP_to_XMLRPC_worker':

  3. #3
    Expert confirmé
    Avatar de becket
    Profil pro
    Informaticien multitâches
    Inscrit en
    Février 2005
    Messages
    2 854
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations professionnelles :
    Activité : Informaticien multitâches
    Secteur : Service public

    Informations forums :
    Inscription : Février 2005
    Messages : 2 854
    Points : 5 915
    Points
    5 915
    Par défaut
    non ?

  4. #4
    Membre actif
    Profil pro
    Inscrit en
    Octobre 2006
    Messages
    461
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2006
    Messages : 461
    Points : 283
    Points
    283
    Par défaut
    Bonjour Frédéric,
    La PHP 5.2.14 ne fait pas partie de la distrib RedHat 5.5. Il s'agit de sources que j'ai récupérer sur php.net.

  5. #5
    Expert confirmé
    Avatar de becket
    Profil pro
    Informaticien multitâches
    Inscrit en
    Février 2005
    Messages
    2 854
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations professionnelles :
    Activité : Informaticien multitâches
    Secteur : Service public

    Informations forums :
    Inscription : Février 2005
    Messages : 2 854
    Points : 5 915
    Points
    5 915
    Par défaut
    Tu es sur d'avoir tous les "minimum requirement" au niveau des libraires ?

  6. #6
    Membre actif
    Profil pro
    Inscrit en
    Octobre 2006
    Messages
    461
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2006
    Messages : 461
    Points : 283
    Points
    283
    Par défaut
    Il me semble que oui. Par contre, je le compile avec de nombreuses options que je pourrais poster que lundi car je ne peux me connecter au serveur de là ou je suis.
    Concernant l'erreur, j'ai installé toutes les librairies pour lesquelles le ./configure m'a retourné des erreurs. Mais je fournirai tout les détails dont tu as besoin lundi.

    Merci pour ton aide.

Discussions similaires

  1. PHP 4.3.3 sur REDHAT 5.2 ?
    Par bouba_69 dans le forum RedHat / CentOS / Fedora
    Réponses: 4
    Dernier message: 06/06/2014, 13h37
  2. Installation Apache et php sur RedHat
    Par bretzeldalsace dans le forum RedHat / CentOS / Fedora
    Réponses: 3
    Dernier message: 19/04/2011, 09h13
  3. Erreur installation oracle 10.2.0.1 sur RedHat EL5 en mode silent
    Par evil_mouss dans le forum Installation
    Réponses: 4
    Dernier message: 21/10/2010, 20h50
  4. Problème d'installation de php-mysql sur RedHat.
    Par maldoror34 dans le forum Linux
    Réponses: 7
    Dernier message: 22/09/2009, 21h19
  5. installer php 5.2 sur redhat el 5
    Par bob20000 dans le forum RedHat / CentOS / Fedora
    Réponses: 1
    Dernier message: 30/09/2008, 13h19

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo