For Programmers: Free Programming Magazines  


Home > Archive > PHP Questions and Answers > January 2007 > Re: Problem Installing lates PHP_5_2 CVS - Fatal error:Not valid









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: Problem Installing lates PHP_5_2 CVS - Fatal error:Not valid
Sebastian Nohn

2007-01-06, 7:02 pm

Hi Greg,

Greg Beaver wrote:
> Sebastian Nohn wrote:
>
> I spent quite a bit of time fixing up both phars yesterday, and released
> new .phars at pear.php.net. If you could confirm that the .phars at
> http://pear.php.net/install-pear-nozlib.phar or
> http://pear.php.net/go-pear.phar do *not* work with current CVS, then we
> have a problem. I need to know whether it works for you, either way,
> today if possible.


Until yesterday evening (23:something MET yesterday was the last time
tried), it worked, it didn't work since then (next try 10:something MET
today) and it doesn't work with the file from pear.php.net:

---------------------- cut here ----------------------
$ wget http://pear.php.net/install-pear-nozlib.phar -O \
/tmp/install-pear-nozlib.phar
[...]
16:29:55 (273.68 KB/s) - `/tmp/install-pear-nozlib.phar' saved
[3287079/3287079]

$ slash/opt/php/bin/php -n -dshort_open_tag=0 -dsafe_mode=0 \
-dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 \
-ddetect_unicode=0 /tmp/install-pear-nozlib.phar \
-d $(pwd)slash/opt/php/lib -b $(pwd)/slash/opt/php/bin

Fatal error: Not valid internal .phar file (checksum error) in
/tmp/install-pear-nozlib.phar on line 411

$ slash/opt/php/bin/php -v
PHP 5.2.1RC3-dev (cli) (built: Jan 6 2007 15:33:58)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
---------------------- cut here ----------------------

If it helps:

$ uname -a
Linux h939937 2.6.15-26-686 #1 SMP PREEMPT Fri Sep 8 20:16:40 UTC 2006
i686 GNU/Linux
$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable- languages=c,c++,java,f95,objc,ada,treela
ng --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-awt=gtk-default
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-werror --with-tune=pentium4
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

- Sebastian
Sponsored Links







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

Copyright 2008 codecomments.com