[Squeeze] downgrade php 5.3 -> 5.2

Bonjour,

J’ai réalisé un upgrade Lenny vers Squeeze sur mon serveur web, et je me suis logiquement retrouvé en php 5.3.3-7.

Et c’est à ce moment là que je me suis aperçu que certaines de mes applis web ne sont pas compatibles php 5.3 !

Donc je cherche à revenir en php 5.2 !

Mais problème, les paquets php 5.2 sont introuvables ! !

J’ai essayé une procédure de downgrade à partir ce site : infogerance-linux.net/2012/downgrader-php53/

Mais à la fin, aucune installation de PHP… ! !

Extrait de la procédure:

[code]/etc/apt/sources.list
deb http://ftp.fr.debian.org/debian/ stable main
deb-src http://ftp.fr.debian.org/debian/ stable main

deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main

deb http://volatile.debian.org/debian-volatile stable/volatile main
deb-src http://volatile.debian.org/debian-volatile stable/volatile main

deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
[/code]

debian1:~# aptitude update
Prendre : 1 http://security.debian.org stable/updates Release.gpg [836B]
Ign http://security.debian.org stable/updates/main Translation-fr
Ign http://volatile.debian.org stable/volatile Release.gpg
Ign http://volatile.debian.org stable/volatile/main Translation-fr
Prendre : 2 http://security.debian.org stable/updates Release [86,9kB]
Ign http://volatile.debian.org stable/volatile Release
Ign http://volatile.debian.org stable/volatile/main Packages
Atteint http://ftp.fr.debian.org stable Release.gpg
Ign http://volatile.debian.org stable/volatile/main Sources
Ign http://volatile.debian.org stable/volatile/main Packages
Ign http://volatile.debian.org stable/volatile/main Sources
Err http://volatile.debian.org stable/volatile/main Packages
  404 Not Found [IP : 86.59.118.153 80]
Atteint http://ftp.fr.debian.org stable/main Translation-fr
Err http://volatile.debian.org stable/volatile/main Sources
  404 Not Found [IP : 86.59.118.153 80]
Ign http://security.debian.org stable/updates/main Packages/DiffIndex
Ign http://security.debian.org stable/updates/main Sources/DiffIndex
Prendre : 3 http://security.debian.org stable/updates/main Packages [219kB]
Ign http://ftp.fr.debian.org lenny Release.gpg
Ign http://ftp.fr.debian.org lenny/main Translation-fr
Ign http://ftp.fr.debian.org lenny/contrib Translation-fr
Ign http://ftp.fr.debian.org lenny/non-free Translation-fr
Prendre : 4 http://security.debian.org stable/updates/main Sources [73,1kB]
Atteint http://ftp.fr.debian.org stable Release
Ign http://ftp.fr.debian.org lenny Release
Ign http://ftp.fr.debian.org stable/main Packages/DiffIndex
Ign http://ftp.fr.debian.org stable/main Sources/DiffIndex
Ign http://ftp.fr.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.fr.debian.org lenny/contrib Packages
Ign http://ftp.fr.debian.org lenny/non-free Packages
Atteint http://ftp.fr.debian.org stable/main Packages
Atteint http://ftp.fr.debian.org stable/main Sources
Ign http://ftp.fr.debian.org lenny/main Packages
Ign http://ftp.fr.debian.org lenny/contrib Packages
Ign http://ftp.fr.debian.org lenny/non-free Packages
Ign http://ftp.fr.debian.org lenny/main Packages
Err http://ftp.fr.debian.org lenny/contrib Packages
  404 Not Found [IP : 212.27.32.66 80]
Err http://ftp.fr.debian.org lenny/non-free Packages
  404 Not Found [IP : 212.27.32.66 80]
Err http://ftp.fr.debian.org lenny/main Packages
  404 Not Found [IP : 212.27.32.66 80]
 380ko téléchargés en 8s (43,3ko/s)
Lecture des listes de paquets... Fait

C’est normal le “404 Not Found [IP : 212.27.32.66 80]” ?

Merci pour votre aide…

Linux debian1 2.6.26-2-686 #1 SMP Thu Nov 25 01:53:57 UTC 2010 i686 GNU/Linux

Salut,
Pour le 404 not found: modification-des-depots-lenny-a-compter-du-25-mars-t37929.html#p384437

Ok merci !

J’ai modifié mon sources.list.
Je re-teste la procédure demain…

Plus facile à dire qu’à faire… essaye de migrer tes applis. PHP 5.2 n’est officiellement plus supporté !

oui… je m’en suis bien rendu compte :wink: !

Le souci c’est que quand je dis “mes applis…” je parle d’applis du réseau national auquel j’appartiens, et donc je ne décide ni du choix, ni du calendrier (et je n’ai pas encore le niveau ni le temps pour le faire moi même)! !

Et en attendant je dois redonner l’accès à ces applis à mes collaborateurs…
Donc, soit j’y arrive, soit je réinstalle mon serveur Debian !

EDIT : C’est ok ! je viens de refaire la procédure et ça semble bon :slightly_smiling:.

Merci pour vos indications…