For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > November 2006 > testing for PEAR 1.5.0RC1 - 1 week to release









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 testing for PEAR 1.5.0RC1 - 1 week to release
Greg Beaver

2006-11-19, 6:58 pm

Hi,

It's that time again. I've uploaded PEAR 1.5.0RC1 as a tgz,
go-pear.phar, and install-pear-nozlib.phar to

http://pear.php.net/~greg

Please test the usual things:

1) pear up http://pear.php.net/~greg/PEAR-1.5.0RC1.tgz
2) download go-pear.phar and try using it on windows to install a fresh PEAR
3) download install-pear-nozlib.phar and try using it on unix/mac by
putting it in php/pear and running "make install-pear" in the PHP source
directory with PHP 5.1+
4) checkout pear-core, cd pear-core/tests and "pear run-tests -rq" all OSes
5) try running all of the commands shown by "pear help" and make sure
something hasn't slipped through the cracks.

Even though this is a beta release, I anticipate it to be the most
rock-solid PEAR version ever released, our new bug count is decreasing
to less than 1 every three ws.

Thanks,
Greg
Laurent Laville

2006-11-20, 6:59 pm

Greg Beaver a écrit :
> Hi,
>
> It's that time again. I've uploaded PEAR 1.5.0RC1 as a tgz,
> go-pear.phar, and install-pear-nozlib.phar to
>
> http://pear.php.net/~greg
>
> Please test the usual things:
>
> 1) pear up http://pear.php.net/~greg/PEAR-1.5.0RC1.tgz
> 2) download go-pear.phar and try using it on windows to install a fresh PEAR


First try with PHP 4.4.4 on windows

PHP 4.4.4 (cli) (built: Aug 16 2006 01:17:55)
\wamp\php4\php -f go-pear.phar

gave me these results :

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION
or T_FUNCTION or T_VAR or '}' in C:\peartest\go-pear.phar on line 42

First try with PHP 5.2.0 on windows

PHP 5.2.0 (cli) (built: Nov 2 2006 11:57:36)
\wamp\php\php -f go-pear.phar

gave expected results. No surprise !

> 3) download install-pear-nozlib.phar and try using it on unix/mac by
> putting it in php/pear and running "make install-pear" in the PHP source
> directory with PHP 5.1+
> 4) checkout pear-core, cd pear-core/tests and "pear run-tests -rq" all OSes
> 5) try running all of the commands shown by "pear help" and make sure
> something hasn't slipped through the cracks.
>
> Even though this is a beta release, I anticipate it to be the most
> rock-solid PEAR version ever released, our new bug count is decreasing
> to less than 1 every three ws.
>
> Thanks,
> Greg

Laurent Laville

2006-11-20, 6:59 pm

Laurent Laville a écrit :
>
> First try with PHP 4.4.4 on windows
>
> PHP 4.4.4 (cli) (built: Aug 16 2006 01:17:55)
> \wamp\php4\php -f go-pear.phar
>
> gave me these results :
>
> Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION
> or T_FUNCTION or T_VAR or '}' in C:\peartest\go-pear.phar on line 42


I've just realized that PHP_Archive since 0.6.0 is only PHP 5 compatible
that is the reason of error on PHP4.
Greg Beaver

2006-11-20, 6:59 pm

Laurent Laville wrote:
> Greg Beaver a écrit :
>
> First try with PHP 4.4.4 on windows
>
> PHP 4.4.4 (cli) (built: Aug 16 2006 01:17:55)
> \wamp\php4\php -f go-pear.phar
>
> gave me these results :
>
> Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION
> or T_FUNCTION or T_VAR or '}' in C:\peartest\go-pear.phar on line 42
>
> First try with PHP 5.2.0 on windows
>
> PHP 5.2.0 (cli) (built: Nov 2 2006 11:57:36)
> \wamp\php\php -f go-pear.phar
>
> gave expected results. No surprise !


Hi Laurent,

Yep :) .phar files require PHP 5.1.0+, sorry I forgot to mention this
important detail! Thanks for trying it out.

Greg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com