http://qa.mandrakesoft.com/show_bug.cgi?id=5961





------- Additional Comments From [EMAIL PROTECTED]  2003-25-09 21:09 -------
After installing pear manually, by doing:

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

...and looking into the files created, I discovered that the problem is the
include_path of the MDK-installed php.ini - probably created by the php-pear
package's install script. The section read as follows after installation of the
php packages:


;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
; ### MDK
include_path = ".:/usr/lib/php/:/usr/share/pear/"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"




Note the examples given in the file: the directory names in the include_path
should NOT be terminated by a slash!

The offending line must be changed to:

   include_path=".:/usr/lib/php:/usr/share/pear"



-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date: 
description: 
The 'pear' command-line utility (/usr/bin/pear) has serious problems with the
(fresh) installation. Example:

[EMAIL PROTECTED] pear]# pwd
/usr/share/pear
[EMAIL PROTECTED] pear]# pear list

Notice: unserialize(): Error at offset 264 of 1449 bytes in Registry.php on line 339

Notice: unserialize(): Error at offset 1684 of 3926 bytes in Registry.php on
line 339

Notice: unserialize(): Error at offset 2155 of 5080 bytes in Registry.php on
line 339

Notice: unserialize(): Error at offset 399 of 11959 bytes in Registry.php on
line 339

Notice: unserialize(): Error at offset 7336 of 14869 bytes in Registry.php on
line 339

Notice: unserialize(): Error at offset 281 of 2512 bytes in Registry.php on line 339

Notice: unserialize(): Error at offset 2443 of 5486 bytes in Registry.php on
line 339

Notice: unserialize(): Error at offset 284 of 1273 bytes in Registry.php on line 339

Notice: unserialize(): Error at offset 30092 of 43738 bytes in Registry.php on
line 339

Notice: unserialize(): Error at offset 47444 of 61495 bytes in Registry.php on
line 339

Notice: unserialize(): Error at offset 284 of 2814 bytes in Registry.php on line 339

Notice: unserialize(): Error at offset 277 of 1764 bytes in Registry.php on line 339
Installed packages:
===================
Package Version State



[EMAIL PROTECTED] pear]#

Reply via email to