Re: problem with PEAR config-set command and preferred_mirror option
| From: | Laurent Laville | Date: | Tue, 26 Jun 2007 11:04:29 +0000 |
| Subject: | Re: problem with PEAR config-set command and preferred_mirror option | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47119@lists.php.net to get a copy of this message | ||
Hi,
I want to add something new I've just noticed.
I try a new configuration , with :
1. copy the "pear.ini" file (see below) into C:\Windows
2. run command pear config-set preferred_mirror de.pear.php.net
C:\wamp\php>pear config-set preferred_mirror de.pear.php.net
config-set succeeded
NOTICE the result --^
3. run command pear config-show
And what's supposed to see ?!
Default Channel Mirror preferred_mirror de.pear.php.netisn't it. If I've well understood ... But I still have
Default Channel Mirror preferred_mirror pear.php.netMirror was not applied . I think it's a bug in PEAR 1.6.1 A confirmation will be appreciated . Thanks in advance Laurent Laurent Laville a écrit :
Hi, While I wanted to test my latest modification on PEAR_PackageUpdate (support mirror for REST 1.0 protocol) I run in trouble with PEAR config-set command. Here is my *pear.ini* content : C:\wamp\php>pear -c pear.ini config-show CONFIGURATION (CHANNEL PEAR.PHP.NET): =====================================Auto-discover new Channels auto_discover <not set> Default Channel default_channel pear.php.net HTTP Proxy Server Address http_proxy <not set> PEAR server [DEPRECATED] master_server pear.php.net Default Channel Mirror preferred_mirror pear.php.net Remote Configuration File remote_config <not set> PEAR executables directory bin_dir C:\wamp\php PEAR documentation directory doc_dir C:\wamp\php\pear\docs PHP extension directory ext_dir c:\wamp\php\ext\ PEAR directory php_dir C:\wamp\php\pear PEAR Installer cache directory cache_dir c:\wamp\php\pear\cache PEAR data directory data_dir C:\wamp\php\pear\data PEAR Installer download download_dir c:\wamp\tmpdirectoryPHP CLI/CGI binary php_bin C:\wamp\php\php.exe php.ini location php_ini <not set> PEAR Installer temp directory temp_dir c:\wamp\tmp PEAR test directory test_dir C:\wamp\php\pear\tests Cache TimeToLive cache_ttl 3600 Preferred Package State preferred_state stable Unix file mask umask 0 Debug Log Level verbose 1 PEAR password (for password <not set>maintainers)Signature Handling Program sig_bin c:\gnupg\gpg.exe Signature Key Directory sig_keydir C:\WINDOWS\pearkeys Signature Key Id sig_keyid <not set> Package Signature Type sig_type gpg PEAR username (for username <not set>maintainers)User Configuration File Filename pear.ini System Configuration File Filename C:\WINDOWS\pearsys.iniI want to change "Default Channel Mirror" (preferred_mirror) from 'pear.php.net' to europe mirror as notified at http://pear.php.net/mirrors.php So I did : C:\wamp\php>pear -c pear.ini config-set preferred_mirror de.pear.php.net And i got this answer : config-set (preferred_mirror, de.pear.php.net, user) failed, channel pear.php.net What I missed ? Help are welcome ! Last but not least, my platform info : C:\wamp\php>pear -V PEAR Version: 1.6.1 PHP Version: 5.2.3 regards Laurent