04-19-2016, 11:52 AM
PHP7 installs just fine on Ubuntu
There is no PHP5 in Xenial as it is outdated and slow.
Code:
root@pine64-2gb:~# apt-get install -s php7.0-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libnih1 libnl-route-3-200 seccomp ubuntu-core-security-apparmor
ubuntu-core-security-seccomp ubuntu-core-security-utils ubuntu-snappy-cli
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
php-common php7.0-cli php7.0-common php7.0-json php7.0-opcache
php7.0-readline
Suggested packages:
php-pear
The following NEW packages will be installed:
php-common php7.0-cli php7.0-common php7.0-fpm php7.0-json php7.0-opcache
php7.0-readline
0 upgraded, 7 newly installed, 0 to remove and 60 not upgraded.
Inst php-common (1:35ubuntu6 Ubuntu:16.04/xenial [all])
Inst php7.0-common (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Inst php7.0-json (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Inst php7.0-opcache (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Inst php7.0-readline (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Inst php7.0-cli (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Inst php7.0-fpm (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Conf php-common (1:35ubuntu6 Ubuntu:16.04/xenial [all])
Conf php7.0-common (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Conf php7.0-json (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Conf php7.0-opcache (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Conf php7.0-readline (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Conf php7.0-cli (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
Conf php7.0-fpm (7.0.4-7ubuntu2 Ubuntu:16.04/xenial [arm64])
There is no PHP5 in Xenial as it is outdated and slow.