#21111 [Opn->Fbk]: Can't install PEAR

From: Date: Wed, 01 Jan 2003 22:36:03 +0000
Subject: #21111 [Opn->Fbk]: Can't install PEAR
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11993@lists.php.net to get a copy of this message
ID: 21111 Updated by: mj@php.net Reported By: mikkel@linet.dk -Status: Open +Status: Feedback Bug Type: PEAR related Operating System: RH 8.0 PHP Version: 4CVS-2002-12-20 (dev) New Comment: Does the user, under which you try to install PHP and PEAR, the necessary permissions to write in /usr/share? Normally you need to be root for this. Previous Comments: ------------------------------------------------------------------------ [2002-12-20 07:04:36] mikkel@linet.dk When installing PEAR I get: Installing PEAR environment: /var/tmp/php-ze2-root/usr/share/pear/ Fatal error: Can't use method return value in write context in /home/mkj/tmp/ZEND2/php4-ze2/pear/PEAR/Installer.php on line 702 Fatal error: Can't use method return value in write context in /home/mkj/tmp/ZEND2/php4-ze2/pear/PEAR/Installer.php on line 702 I Removing the "&" in line 702. Gives me the following errors: Installing PEAR environment: /var/tmp/php-ze2-root/usr/share/pear/ Warning: mkdir(/usr/share/pear/.registry) [http://www.php.net/function.mkdir]: Permission denied in /home/mkj/tmp/ZEND2/php4-ze2/pear/System.php on line 243 Warning: mkdir(/usr/share/pear/.registry) [http://www.php.net/function.mkdir]: Permission denied in /home/mkj/tmp/ZEND2/php4-ze2/pear/System.php on line 243 ... Warning: mkdir(/usr/share/pear/.registry) [http://www.php.net/function.mkdir]: Permission denied in /home/mkj/tmp/ZEND2/php4-ze2/pear/System.php on line 243 [PEAR] DB: unable to unpack /home/mkj/tmp/ZEND2/php4-ze2/pear/packages/DB-1.3.tar [PEAR] HTTP: unable to unpack /home/mkj/tmp/ZEND2/php4-ze2/pear/packages/HTTP-1.2.tar [PEAR] Mail: unable to unpack /home/mkj/tmp/ZEND2/php4-ze2/pear/packages/Mail-1.0.1.tar ... Which is the same error I got with 4.3.0RC1, but was fixed in RC2. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21111&edit=1

« previous php.pear.dev (#11993) next »