Click to See Complete Forum and Search --> : issues in installing PHP 5


raghu_n
06-02-2005, 10:15 AM
Hi, i am installing PHP 5, downloaded "php-5.0.4.tar.gz" to my root folder (os is linux redhat 9.0) from php.net site..

i want to unzip above file and install php 5 ..so executed command "gunzip php-5.0.4.tar.gz" ..it is throwing below error ..

------------------------------
gunzip: php-5.0.4.tar.gz: invalid compressed data--crc error

gunzip: php-5.0.4.tar.gz: invalid compressed data--length error

-------------------------------

how to resolve this problem ..

bubblenut
06-02-2005, 11:15 AM
Sounds like the download is bad. Check it's md5 against the appropriate one on php.net. To do this do openssl md5 < [the file]. Just as a side note, I would probably use tar as it's tarred up as well.

tar -zxf [the file]
or
tar -zxvf [the file]
to see what's happening.