Upgrade Trusty PHP Apache

Aus crazylinux.de
Zur Navigation springen Zur Suche springen

https://github.com/oerdnj/deb.sury.org/wiki/PPA-Migration

PHP

The old php5-* packages are coinstallable with the new phpX.Y-* scheme, so the first thing you need to do is to install and enable new packages Add this repository if you want to use new PHP packages from ppa:ondrej/php, but for dependency reasons you still need old php5* packages.

https://launchpad.net/~ondrej/+archive/ubuntu/php5-compat


add-apt-repository ppa:ondrej/php
add-apt-repository ppa:ondrej/php5-compat
apt-get update
apt-get dist-upgrade
a2dismod php5
a2enmod php5.6

umask 022
pecl install apcu-4.0.11

see https://github.com/oerdnj/deb.sury.org/wiki/Frequently-Asked-Questions


Apache2

This branch follows latest Apache2 packages as maintained by the Debian Apache2 team with couple of compatibility patches on top.

sudo add-apt-repository ppa:ondrej/apache2
sudo apt-get update