[Bug 1555060] [NEW] the "pecl" command that is installed, does not work for PHP 7
Derick Rethans
ubuntu at derickrethans.nl
Wed Mar 9 12:16:06 UTC 2016
Public bug reported:
On a newly installed beta1:
derick at ubuntu-desktop-16:/tmp/xdebug$ lsb_release -rd
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
Running the "pecl" command results in an error, as it is not PHP 7
compatible. That is despite "phpize" and "php" are for PHP 7, as also
showed in /etc/alternatives:
derick at ubuntu-desktop-16:/tmp/xdebug$ php -v
PHP 7.0.3-3 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
derick at ubuntu-desktop-16:/tmp$ ls -l /etc/alternatives/php
lrwxrwxrwx 1 root root 15 Mar 9 10:53 /etc/alternatives/php -> /usr/bin/php7.0
derick at ubuntu-desktop-16:/tmp$ ls -l /etc/alternatives/phpize
lrwxrwxrwx 1 root root 18 Mar 9 10:53 /etc/alternatives/phpize -> /usr/bin/phpize7.0
The error from PECL is:
derick at ubuntu-desktop-16:/tmp$ pecl install xdebug
Parse error: syntax error, unexpected 'new' (T_NEW) in
/usr/share/php/PEAR/Frontend.php on line 91
There does not seem to be a package for a PHP 7 compatible pear/pecl
executable
cheers,
Derick
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: php-pear 5.6.17+dfsg-3ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-7.22-generic 4.4.2
Uname: Linux 4.4.0-7-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Mar 9 12:12:23 2016
InstallationDate: Installed on 2016-03-09 (0 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160225.1)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: php5
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug xenial
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1555060
Title:
the "pecl" command that is installed, does not work for PHP 7
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1555060/+subscriptions
More information about the Ubuntu-server-bugs
mailing list