pecl PHP Parse error: syntax error, unexpected 'new' (T_NEW) 以及 XML缺失解决办法

Try update PEAR:
$ wget http://pear.php.net/go-pear.phar
$ php go-pear.phar
sudo apt-get install php-pear 

你可能感兴趣的:(PHP)