PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR » Bug #5597

Pear install is very noisy

Details

Submitted2005-10-04 06:16 UTC
Fromdavid at tulloh dot id dot au
StatusBogus
PackagePEAR
PHP Version5_1 CVS-2005-10-04
OSLinux
Roadmaps(Not assigned)

Comments

[2005-10-04 06:16 UTC] david at tulloh dot id dot au

Description:
------------
Pear install (as called by make install) is very noisy due to the strict flag.

I upgraded my PHP to the 5.1 branch of CVS, including the new version of Pear. The pear installation was very noisy with pages and pages of strict warnings (mostly is_a and var).

I believe this was caused by my php.ini containing the line:
error_reporting = E_ALL|E_STRICT

A suitable solution might be to disable the strict flag in the beginning of the installation process, error_reporting($error_level&~E_STRICT) will simply remove the E_STRICT flag if it's set.