Upgrade Trusty PHP Apache: Unterschied zwischen den Versionen

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
(init)
 
K (update)
 
Zeile 3: Zeile 3:
== PHP ==
== 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
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


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo add-apt-repository ppa:ondrej/php
add-apt-repository ppa:ondrej/php
sudo apt-get update
add-apt-repository ppa:ondrej/php5-compat
apt-get update
apt-get dist-upgrade
</syntaxhighlight>
</syntaxhighlight>


<syntaxhighlight lang="bash">
a2dismod php5
a2enmod php5.6


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.
umask 022
pecl install apcu-4.0.11
</syntaxhighlight>
 
see https://github.com/oerdnj/deb.sury.org/wiki/Frequently-Asked-Questions


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


== Apache2 ==
== Apache2 ==

Aktuelle Version vom 30. März 2018, 19:29 Uhr

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