Upgrade Trusty PHP Apache

Aus crazylinux.de
Wechseln zu: Navigation, Suche



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.


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

2 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