By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,411 Members | 999 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,411 IT Pros & Developers. It's quick & easy.

Problems changing PEAR cache directory

P: n/a
Dear group,

I'm trying to change PEAR's default cache directory (on Mac OS X) from
/tmp/pear/cache to /var/tmp/pear/cache, but I can't do it. I'm using the
Marc Liyanage's php distribution, and I'm executing the correct binary:
the one in /usr/local/php/bin.
----------------------------------------------------------------
% pear config-show
Configuration:
==============
[...]
PEAR Installer cache directory cache_dir /tmp/pear/cache
----------------------------------------------------------------
% sudo pear config-set cache_dir /var/tmp/pear/cache
could not create directory: /Users/jpk
----------------------------------------------------------------
% pear config-show
Configuration:
==============
[...]
PEAR Installer cache directory cache_dir /tmp/pear/cache
----------------------------------------------------------------

Why it would want to create '/Users/jpk' (which is my home directory), I
have no idea. The cache_dir setting is not being changed, in any case.
Anyone have an idea what is going on here?

Thanks,
Jan Pieter

--
Sorry, <de*****@cauce.org> is een "spam trap".
E-mail adres is <jpk"at"akamail.com>, waarbij "at" = @.
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.