My Oracle Support Banner

Oracle Linux 7: Executing "pear -V or pecl -V " Command Reports "Error: PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/pear/PEAR/Frontend.php on line 91" (Doc ID 2743707.1)

Last updated on JANUARY 18, 2021

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.0 and later
Linux x86-64

Symptoms

On Oracle Linux 7 Installed php-pear-1.9.4-22.el7.noarch.rpm package from OL7_Latest channel and it is not working when php-7.4 package from Oracle Linux 7 (x86_64) PHP 7.4 for Development Channel is installed.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.