Topic: Mise a jours PHP 5.2

Bonjour a tous
j'aurais besoin d'aide pour  faire la mise à jour de ma version php qui est 5.1.6
j'ai besoin de la passer en 5.2
serveur dedié centos 5.2 plesk 9.2

j'ai suivie la procédure
yum --enablerepo=remi update php

mais j'ai les message d'erreur suivant
----------------------------------------------------
file /etc/my.cnf from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/charsets/README from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/charsets/ascii.xml from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
  file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.35-1.el5.remi.i386 conflicts with file from package mysql-5.0.45-7.el5.i386
--------------------------------------

Est ce que quelqu'un aurait une idée.

Merci d'avance

Re: Mise a jours PHP 5.2

Le découpage des paquets MySQL est différent entre la 5.0 et la 5.1.

La MAJ de PHP tire uniquement mysql-libs, d'où le conflit.

Il faut donc commencer par MySQL.

yum --enablerepo=remi update mysql\*
yum --enablerepo=remi update php\*

Attention : Plesk remplace beaucoup de composants et n'a plus rien avoir avec une CentOS. Une vraie daube ce truc.

+

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Mise a jours PHP 5.2

J'oubliais, il est aussi possible de ne pas mettre MySQL à jour en installation la bibliothèque de compatibilité

yum --enablerepo=remi-test install mysqlclient16
yum --enablerepo=remi update php\*

Je ne sais pas si Plesk est compatible avec ces versions et surtout s'il n'a pas besoin d'extension PHP particulière.

Donc prévoir une sauvegarde pour un retour arrière éventuel.

+

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Mise a jours PHP 5.2

Merci remi pour tes infos

j'ai suivi la procédure que tu m'a indiqué ( la première ) cela à tous mis à jours

mais j'ai un souci maintenant
quand je veux creer une base de donné
j'ai l'erreur suivante
Table 'mysql.servers' doesn't exist

est ce que c'est grave docteur?

Sinon tu m'a dit que plesk c'est de la daube, aurait tu une interface a me préconiser ( je ne suis pas un pro) . Je n'ai loué ce serveur que pour 1 mois et il n'y a rien dedans pour l'instant.

Merci pour ton aide

Carl

Re: Mise a jours PHP 5.2

> Table 'mysql.servers' doesn't exist
Jamais entendu parler de cette table.
Tu essaie de la créer comment ta base ? (si c'est par Plesk, je n'ai clairement aucune idée de son fonctionnement)

>aurait tu une interface a me préconiser
La ligne de commande
Eventuellement phpMyAdmin pour les bases de données.

+

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test