Re: pear.bat upgrade PEAR problems

From: Date: Fri, 03 Feb 2006 09:50:35 +0000
Subject: Re: pear.bat upgrade PEAR problems
References: 1 2 3 4 5 6 7 8  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22770@lists.php.net to get a copy of this message
Andreas Adelsberger schrieb:
Greg Beaver schrieb:
Andreas Adelsberger wrote:
Greg Beaver schrieb:
Andreas Adelsberger wrote:
WARNING: running in safe mode requires that all files created be the same uid as the current script. PHP reports this script is uid: 0, and current user is: an dreas
Um, this is your problem. Remove safe_mode from php.ini and try again. PEAR 1.4.7 will automatically disable safe_mode when running PEAR Greg
I have already tried that, but still the same problem! C:\Programme\xampp\php>pear upgrade pear downloading PEAR-1.4.6.tgz ... Starting to download PEAR-1.4.6.tgz (277,103 bytes) .........................................................done: 277,103 bytes Could not delete C:\Programme\xampp\php\pear.bat, cannot rename C:\Programme\xam pp\php\.tmppear.bat ERROR: commit failed
OK, next attempt: restart apache with apache -k restart then try the upgrade, and if that doesn't work, try apache -k stop and try the upgrade. The problem is that something has locked your pear.bat, and in my experience this is usually the web server. If you use Zend IDE, also you will need to exit it prior to upgrade, as this sometimes randomly locks the entire directory in which PEAR resides. Greg P.S. if apache isn't in the path, it should be somewhere in C:\Programme\xampp like C:\Programme\xampp\apache
same error occurs. there is no effect if apache or the zend ide is running! I found a solution now. there was a problem with the pear.bat of the xampp installation.
i removed the pear.bat and the pear directory completely. downloaded http://go-pear.org/ and saved it as go-pear.php . then run: php go-pear.php in the command line and reinstalled everything! now everything works fine. thanx for the help!

« previous php.pear.general (#22770) next »