Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error install pecl/raphf and propro

I have updated php5.5 to php7.0.

I try to run this commande :

pecl install pecl/raphf

But I obtain this error :

Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/php/PEAR/Frontend.php on line 91

How I can install :

pecl install pecl/raphf
pecl install pecl/propro
like image 667
DevLoots Avatar asked Dec 08 '22 22:12

DevLoots


1 Answers

Try update PEAR:

$ wget http://pear.php.net/go-pear.phar
$ php go-pear.phar

Original Answer in GitHub Issue

like image 167
Rkalkani Avatar answered Dec 10 '22 11:12

Rkalkani