Re: FW: [PEAR] Install PEAR

From: Date: Tue, 05 Jun 2007 20:16:11 +0000
Subject: Re: FW: [PEAR] Install PEAR
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27421@lists.php.net to get a copy of this message
Greg Beaver wrote:
Arturo Ruvalcaba wrote:
¡Hi! I did it all again and got the same error. The go-pear.phar file I downloaded has 93445 lines (3,557 KB). It surpraised to me that this file is not compressed, so when I went to the site http://pear.php.net/go-pear.phar, I selected all the text, copied, pasted (using Textpad) and saved it. ¿What else can I do to install PEAR?
    
Hello Arturo, You can't select all text. Instead, choose File->Save As or File->Save Page As and save the link "http://pear.php.net/go-pear.phar" as "go-pear.phar" then you will be able to execute it. Wordpad will automatically change encoding and do other processing, causing the file to become corrupted. To ensure that you have the correct encoding, run C:\Documents and Settings\Greg Beaver>php -r "echo md5_file('go-pear.phar');" 4ca07861c3f876ea394e9716f463e313 You should see the value above, otherwise your download is corrupted. Greg Seems like this check would be a good thing to have on the website somewhere.
-josh

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