My hope is that this will provide a very snazzy way for new users to install PEAR with PHP 4.3.0+, as an alternative to the well-worn and proven go-pear.php. A modified version of this will also be able to replace the CVS PEAR used for unix-based PEAR distribution with PHP. This will make syncing with CVS MUCH easier, as we can simply add or remove an install-pear.phar. However, that hasn't been done yet, so I get ahead of myself, as usual :).
Quick check gave me http headers along with the expected queries ..
C:\php>php go-pear.phar
Content-type: text/html
X-Powered-By: PHP/4.4.0
regards,
Lukas
I posted a comment on the weblog, it failed with the error:
Unknown task "tasks:replace" passed in file <file name="PEAR/ErrorStack.php">
Parsing of package.xml from file "C:\xxx\Temp\tmpC7.tmp/package.xml" failed
Cannot initialize 'phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR_ErrorStack-0.8
.0.tar', invalid or missing package file
Package "phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR_ErrorStack-0.8.0.tar" is
not valid
install failed
Arnaud.