PHP install problem, please help. Attempting to use the instructions below to install
PHP
Install PHP4 Version -4.2.3
(1)cd /usr/local/src
(2) wget http://www.php.net/do_download.php?download_file=php-4.2.3.tar.gz
(3) tar -xzvf php-4.2.3.tar.gz
(4) cd php-4.2.3
(5) ./configure --with-mysql --with-apxs=/usr/sbin/apxs --enable-ftp
--with-openssl=/usr/local/ssl/
(6) make
(7) edit /usr/sbin/apxs (this may not be necessary, try skiping, comeback if
errors)
Please help on this PHP problem. I am using a Cobalt RaQ3 and have downloaded the
php-4.2.3.tar.gz file. However, when I attempt to perform step (3) shown above of the
install process, I get the following error:
[root@ns2 src]# tar -xzvf php-4.2.3.tar.gz
php-4.2.3/build/bsd_makefile
php-4.2.3/build/build.mk
php-4.2.3/build/build2.mk
php-4.2.3/build/buildcheck.sh
php-4.2.3/build/dynlib.mk
php-4.2.3/build/fastgen.sh
php-4.2.3/build/genif.sh
php-4.2.3/build/library.mk
php-4.2.3/build/ltlib.mk
php-4.2.3/build/mkdep.awk
php-4.2.3/build/print_include.awk
php-4.2.3/build/program.mk
php-4.2.3/build/rules.mk
php-4.2.3/build/rules_common.mk
php-4.2.3/build/rules_pear.mk
php-4.2.3/build/shtool
php-4.2.3/build/sysv_makefile
php-4.2.3/configure
tar: Skipping to next file header
gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Error exit delayed from previous errors
[root@ns2 src]#
It also does the same thing with PHP version 4.0.6. Additionally, I installed PHP
4.2.3 as a .pkg but it doesn't show up as a process nor does it recognize test.php
from the browser. Would appreciate if anyone has any insight on this matter.
Regards,
Harry