Home > Archive > PHP Documentation > October 2006 > Re: [PHP-DOC] cvs: phpdoc /en/install pecl.xml
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PHP-DOC] cvs: phpdoc /en/install pecl.xml
|
|
| Friedhelm Betz 2006-10-21, 3:57 am |
| Hi Pierre,
Pierre-Alain Joye wrote:
> pajoye Thu Oct 19 21:09:02 2006 UTC
>
> Modified files:
> /phpdoc/en/install pecl.xml
> Log:
> - replace pear by pecl. "pecl" is the pecl.php.net installer
> (default channel of pecl is pecl.php.net not pear.php.net)
And pecl is available as of PHP x.x.x?
What should people use with versions <= PHP x.x.x?
Or is this an issue, which Version if PEAR is installed?
Think, that should be in the docs.
Friedhelm
| |
| Pierre 2006-10-21, 7:57 am |
| Hello,
On 10/21/06, Friedhelm Betz <holliwell@gmx.net> wrote:
> Pierre wrote:
>
> [...]
>
>
> The question form my POV and maybe our users remain:
>
> Installed with php-release:
> pecl-command is available as of PHP x.x.x?
> "in all recent (and supported) PHP releases" is a vague term.
>
> There must be a PHP Version we can name, where pecl-command is installed
> first time, no?
> We should offer this piece of info to our readers :-)
No idea, 5.1.0?
However, it is more important to introduce the notion of *installer*
and package versions and not only php versions. There is more pear
releases than php releases. Some (important) bugs can be fixed between
two PHP releases, just like bugs in extensions can be fixed in a PECL
release.
--Pierre
| |
| Pierre 2006-10-21, 7:57 am |
| Hello,
On 10/21/06, Friedhelm Betz <holliwell@gmx.net> wrote:
> Pierre wrote:
>
> Anyone?
>
>
> I agree completly, that it is important to introduce the notion of
> *installer* version.
>
> But I didn't get the part about "more important". More important than what?
More important than the first PHP release having pear 1.4.0. A user
reading "require PEAR-1.4.0 or earlier (check it with pear -V)" will
simply run pear -V, no matter if it uses php 5.0, 5.1, or 4.4.
> Don't get me wrong:
> but imagine someone is reading the docs, how to install a pecl-extension
> as outlined, fires up her terminal, types "pecl install
> <pecl-extension>" and pecl-command is not available? No hint in the
> docs, thats bad, whats going on ;-)
> Wchich steps should she take to get the required pecl-command or maybe
> she can still use pear install... ?
if PEAR is already installed but is too old, point to the pear manual
orfaq, the short explanation being:
pear upgrade pear
then
pecl instal foo
She can still install a pecl package with pear using this command:
pear install pecl/pear
But the recommended way is to use the pecl command. For example if the
extension is already loaded by PHP, it is possible that the .so/dll
cannot be replaced.
--Pierre
|
|
|
|
|