PEAR is archived and read-only

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

Home » PEAR » PEAR_Info » Bug #6479

after install PEAR_INFO, screw up whole PEAR

Details

Submitted2006-01-12 16:14 UTC
Fromcalvin_cch at hotmail dot com
StatusBogus
PackagePEAR_Info
PHP Version5.1.1
OSWin XP
Roadmaps(Not assigned)

Comments

[2006-01-12 16:14 UTC] calvin_cch at hotmail dot com

Description:
------------
run install script
pear install pear_info

and try to the code
<?php
require_once 'pear/Info.php';
$path = ini_get('include_path');
$info = new PEAR_Info;
$info->show();
?>

got the error message

Fatal error: Class 'PEAR_Config' not found in C:\php\PEAR\PEAR\Info.php on line 41

and the existing PEAR package is screwed up as well

I got a DB package which was working fine before install PEAR_INFO

now I got the error message
Fatal error: Class 'PEAR' not found in C:\php\PEAR\PEAR\Registry.php on line 50

and I try to run
pear uninstall pear_info

I got the following error

Warning: require_once(pear/Info.php) [function.require-once]: failed to open stream: No such file or directory in C:\work\www\PEAR.php on line 2

Fatal error: require_once() [function.require]: Failed opening required 'pear/Info.php' (include_path='.;C:\php\pear') in C:\work\www\PEAR.php on line 2

Test script:
---------------
<?php
require_once 'pear/Info.php';
$path = ini_get('include_path');
$info = new PEAR_Info;
$info->show();
?>

Expected result:
----------------
display PEAR INFO

Fatal error: Class 'PEAR_Config' not found in C:\php\PEAR\PEAR\Info.php on line 41

[2006-01-13 16:35 UTC] calvin_cch at hotmail dot com

found out file name conflict :p