Re: Pear installer doesn't work
| From: | Greg Beaver | Date: | Sun, 12 Nov 2006 02:58:45 +0000 |
| Subject: | Re: Pear installer doesn't work | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-44918@lists.php.net to get a copy of this message | ||
Bertrand Mansion wrote:
> My error was related to wrong permissions on the /tmp/pear directory.
> Unfortunately, it seems that track_errors doesn't work correctly since, even if
> it is activated directly in php.ini, php_errormsg is always empty.
>
> Other OSX users might want to test, just create an empty directory in /tmp
> named pear and give it root write permissions only:
>
> # sudo mkdir /tmp/pear
>
> Then try to install any package you want.
> Please report if it does the same for you and the PEAR installer and PHP
> version you use. Thanks.
Hi Bertrand,
Can you confirm that you were using PEAR 1.4.11? This bug was caused by
shoddy error handling in code I wrote a while back in PEAR_Downloader,
and was unearthed by Pierre's addition of download_dir/temp_dir, as it
changed some default behavior. I added a helpful error message in
1.5.0a1 that fixes the problem. If you are using 1.5.0a1, then that's a
problem that must be fixed.
sigh...
:)
Greg