PHP 7.2

Aus Doku-Wiki
Zur Navigation springenZur Suche springen

Update der PHP Version unter Ubuntu 16.4

Um unter Ubuntu 16.4 auf eine aktuellere PHP Version zu kommen, als die mitgelieferte Version 7.0, muss das PPA (Personal Package Archives) von Ondřej Surý eingebunden werden.

Paketliste für PHP und Apache (libapache2-mod-php7.2) einbinden

aptitude install install software-properties-common
add-apt-repository ppa:ondrej/php
add-apt-repository ppa:ondrej/apache2
aptitude update

Im system nachsehen, welche PHP Pakete installiert sind

aptitude search php7 | grep ^i

Benötigte PHP 7.2 Pakete installieren

aptitude install php7.2-common php7.2-bcmath php7.2-cli php7.2-curl php7.2-dev php7.2-gd php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-readline php7.2-soap php7.2-xml php7.2-zip libapache2-mod-php7.2