Re: pear.bat upgrade PEAR problems
| From: | Andreas Adelsberger | Date: | Fri, 03 Feb 2006 07:05:46 +0000 |
| Subject: | Re: pear.bat upgrade PEAR problems | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22767@lists.php.net to get a copy of this message | ||
Greg Beaver schrieb:
Andreas Adelsberger wrote:same error occurs. there is no effect if apache or the zend ide is running!Greg Beaver schrieb: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\apacheAndreas Adelsberger wrote: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 failedWARNING: 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 dreasUm, 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