Re: Pear installer doesn't work
| From: | Gregory Beaver | Date: | Sat, 11 Nov 2006 14:22:52 +0000 |
| Subject: | Re: Pear installer doesn't work | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-44906@lists.php.net to get a copy of this message | ||
Lorenzo Alberton wrote:
> Hi Bertrand,
>
>> When I try to install a package, I now get this error message:
>>
>> MBP233:~ bertrand$ pear install -f xml_rpc
>> downloading XML_RPC-1.5.1.tgz ...
>>
>> Notice: Undefined variable: php_errormsg in PEAR/Downloader.php on
>> line 1498
>> Could not download from
>> "http://pear.php.net/get/XML_RPC-1.5.1.tgz",
>> cannot
>> download "pear/xml_rpc"
>> Error: cannot download "pear/XML_RPC"
>>
>> Is this some configuration option I missed ?
>
> a hint:
>
> $php_errormsg is a variable containing the text of the last error
> message generated by PHP. This variable will only be available within
> the scope in which the error occurred, and only if the track_errors
> configuration option is turned on (it defaults to off).
>
> maybe you can enable that option and see what the actual error is...
track_errors is enabled in pearcmd.php using ini_set(), so it looks like
ini_set('track_errors', 1) is not working on OS X in PHP 5.2. Let us
know what you figure out.
Thanks,
Greg