Re: pear does not respect directories in pear.ini

From: Date: Wed, 27 Feb 2013 12:33:42 +0000
Subject: Re: pear does not respect directories in pear.ini
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31730@lists.php.net to get a copy of this message
On 26. 2. 2013 20:14, Mads Lie Jensen wrote:
Hi I have installed PEAR on PHP 5.4 using go-pear.phar command and chosen the following directories (pear.ini is stored in D:\PF\PHP\pear.ini): However, when I use "pear channel-discover" or "pear install" commands it uses the default directories instead of the one specified in pear.ini. See the examples bellow. How to fix it? Are you sure that pear is using the settings from that file? I do not know how pear works on windows, on my linuxbox it uses .pearrc in my home-directory and /etc/php5/cli/pear.conf as system configuration file. Try running 'pear config-show' to see the paths it is using.
Hi, yes, you are right. I was too naive that setting that directories in installer would do its best to make it work. However, even running the *.reg file designed to store the directories in the OS path variables is not enough as it does not get into effect until the OS restarts (or at least until the user logs off/logs in). After I have restarted the OS it started to show the correct directories. MC

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