GNU/Linux >> Linux Esercitazione >  >> Debian

Aggiornamento di php da 5.4 a 5.6 in Debian Wheezy

Per aggiornare PHP da 5.4 a 5.6 dobbiamo usare il DOTDEB repository tramite i quali verranno aggiornati anche molti altri pacchetti. Ecco i passaggi.
Riferimenti:
https://www.dotdeb.org/instructions/

PASSAGGI:
Modifica il file /etc/apt/sources.lst e aggiungi le seguenti righe:
deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all
deb http://packages.dotdeb.org wheezy-php56-zts all
deb-src http://packages.dotdeb.org wheezy-php56-zts all

Quindi esegui i seguenti comandi:
Nota: A causa di un bug nel post-installazione di questi pacchetti ho aggiunto alcuni comandi extra che se ne occuperanno:
mkdir -p /etc/apache2/conf-available/
touch /etc/apache2/conf-available/php5-cgi.conf
gpg --keyserver pgpkeys.mit.edu --recv-key E9C74FEEA2098A6E
gpg -a --export E9C74FEEA2098A6E | apt-key add -
apt-get update
apt-get upgrade
apt-get install php5


Debian
  1. Debian apt-get wheezy sources.list

  2. Come installare PHP 8.0 su Debian 11

  3. Come installare PHP 8.0 su Debian 10 / Debian 9

  4. Come aggiornare Debian 7 Wheezy a Debian 8 Jessie

  5. Aggiornamento di Apache2 da Debian Wheezy a Jessie

Come installare PHP su Debian 9

Come aggiornare da Debian 10 a Debian 11

Aggiornamento da 10.04 a 11.04?

Costruire PHP 5.4 dal sorgente su Debian Squeeze

Installa Silex su Debian Wheezy

Come aggiornare Debian 7 (Wheezy) alla versione 10 (Buster)?