unexpected 'new' (T_NEW) in /usr/share/php/HTTP/Client.php on line 179
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-pear (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
On a newly installed Ubuntu 16.04.2 LTS, Release: 16.04
With PHP 7.0.18-
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.18-
apt-cache policy php:
Installed: 1:7.0+35ubuntu6
Candidate: 1:7.0+35ubuntu6
Version table:
*** 1:7.0+35ubuntu6 500
500 http://
500 http://
100 /var/lib/
and php7.0-fpm:
apt-cache policy php7.0-fpm :
Installed: 7.0.18-
Candidate: 7.0.18-
Version table:
*** 7.0.18-
500 http://
100 /var/lib/
7.
500 http://
7.0.4-7ubuntu2 500
500 http://
and with php-pear 1.10.1+
apt-cache policy php-pear
php-pear:
Installed: 1:1.10.
Candidate: 1:1.10.
Version table:
*** 1:1.10.
500 http://
500 http://
100 /var/lib/
I got thid error :
[Tue Jul 04 12:57:12.592765 2017] [proxy_fcgi:error] AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/
tags: | added: xenial |